Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
GXLight.h
Go to the documentation of this file.
1#ifndef GXLIGHT_H
2#define GXLIGHT_H
3
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10void GXInitLightAttn(GXLightObj* obj, f32 a0, f32 a1, f32 a2, f32 k0, f32 k1, f32 k2);
21
22#ifdef __cplusplus
23};
24#endif
25
26#endif /* GXLIGHT_H */
enum _GXSpotFn GXSpotFn
enum _GXDiffuseFn GXDiffuseFn
enum _GXAttnFn GXAttnFn
enum _GXLightID GXLightID
enum _GXChannelID GXChannelID
enum _GXColorSrc GXColorSrc
enum _GXDistAttnFn GXDistAttnFn
u8 GXBool
Definition GXEnum.h:23
void GXSetNumChans(u8 chan_num)
Definition GXLight.c:272
void GXSetChanAmbColor(GXChannelID channel, GXColor color)
Definition GXLight.c:185
void GXInitLightAttn(GXLightObj *obj, f32 a0, f32 a1, f32 a2, f32 k0, f32 k1, f32 k2)
Definition GXLight.c:11
void GXInitLightDir(GXLightObj *obj, f32 x, f32 y, f32 z)
Definition GXLight.c:127
void GXInitLightSpot(GXLightObj *obj, f32 cutoff, GXSpotFn spot_fn)
Definition GXLight.c:21
void GXInitLightPos(GXLightObj *obj, f32 x, f32 y, f32 z)
Definition GXLight.c:120
void GXSetChanCtrl(GXChannelID channel, GXBool enable, GXColorSrc amb_src, GXColorSrc mat_src, u32 light_mask, GXDiffuseFn diff_fn, GXAttnFn attn_fn)
Definition GXLight.c:279
void GXLoadLightObjImm(GXLightObj *obj, GXLightID light)
Definition GXLight.c:168
void GXSetChanMatColor(GXChannelID channel, GXColor color)
Definition GXLight.c:229
void GXInitLightDistAttn(GXLightObj *obj, f32 dist, f32 brightness, GXDistAttnFn dist_fn)
Definition GXLight.c:79
void GXInitLightColor(GXLightObj *obj, GXColor color)
Definition GXLight.c:134
T cLib_calcTimer(T *value)
Definition c_lib.h:79
static SECTION_DATA u8 color[4]
Definition d_a_obj_crope.cpp:225
double x double x
Definition e_atan2.c:58
double x double y
Definition e_atan2.c:58
z
Definition e_pow.c:390
Definition d_a_ep.cpp:68
Definition GXStruct.h:59
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
unsigned char u8
Definition types.h:8