MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / zLightEffectSet

Function zLightEffectSet

src/SB/Game/zLight.cpp:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21static xVec3 sDefaultShadowVec = { 0, 1.0f, 0 };
22
23void zLightEffectSet(_zLight* zlight, S32 idx)
24{
25 if (zlight->reg)
26 {
27 zlight->effect_idx = idx;
28 if (sEffectInitFuncs[zlight->effect_idx] != NULL)
29 {
30 sEffectInitFuncs[zlight->effect_idx](zlight);
31 }
32 }
33}
34
35void zLightResetAll(xEnv* env)
36{

Callers 2

zLightInitFunction · 0.85
zLightResetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected