document: lighting related code
This commit is contained in:
19
include/core2/lighting.h
Normal file
19
include/core2/lighting.h
Normal 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
|
@@ -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
|
||||
|
Reference in New Issue
Block a user