document: lighting related code

This commit is contained in:
Bl00D4NGEL
2024-10-17 21:42:54 +02:00
parent d1b41e109d
commit 61c8d35853
5 changed files with 166 additions and 165 deletions

19
include/core2/lighting.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef _LIGHTING_H_
#define _LIGHTING_H_
#include <ultratypes.h>
typedef struct {
f32 position[3];
f32 positionCopy[3];
f32 unk18; // unk
f32 unk1C; // unk
f32 unk20; // result of unk18 / actor scale, some sort of distance
f32 unk24; // result of unk1C / actor scale, some sort of distance (determines whether to modify rgb of vertex)
s32 rgb[3]; // rgb
u8 unk34; // some sort of flag
u8 pad35[0x3];
} Lighting; //size 0x38
void lighting_free();
void lighting_init();
#endif

View File

@@ -200,5 +200,5 @@ typedef struct{
BKVertexList *model_getVtxList(BKModelBin *arg0);
Vtx *vtxList_getVertices(BKVertexList *vtxList);
void func_80333D48(BKVertexList *arg0, f32 position[3], f32 rotation[3], f32 scale, f32 arg4[3], BKVertexList *arg5);
void codeAC520_func_80333D48(BKVertexList *arg0, f32 position[3], f32 rotation[3], f32 scale, f32 arg4[3], BKVertexList *arg5);
#endif