diff options
| author | robojumper <robojumper@gmail.com> | 2026-01-18 12:27:37 +0100 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2026-01-18 12:27:37 +0100 |
| commit | 679541bee2a8053a1a1a8e1493886512d5bda5f9 (patch) | |
| tree | fd74077c99baf915e78ab0f595c5929d70325b83 /src/egg/gfx/eggLightObject.cpp | |
| parent | df5bd1a7b50bf21f2ea9bd250a4f64053c0ac431 (diff) | |
More symbols from NSMBW
Diffstat (limited to 'src/egg/gfx/eggLightObject.cpp')
| -rw-r--r-- | src/egg/gfx/eggLightObject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egg/gfx/eggLightObject.cpp b/src/egg/gfx/eggLightObject.cpp index 6bf66ef1..5bf0b97b 100644 --- a/src/egg/gfx/eggLightObject.cpp +++ b/src/egg/gfx/eggLightObject.cpp @@ -130,10 +130,10 @@ void LightObject::CalcView(nw4r::math::MTX34 const &viewMtx) { } } -void LightObject::fn_804A9C30(const LightTexture *tex, nw4r::math::VEC3 *pVec, GXColor *color) const { +void LightObject::CalcFinalDirColor(const LightTexture &tex, nw4r::math::VEC3 *pVec, GXColor *color) const { *pVec = field_0x94; *color = mLightColor; - f32 f = tex->getFloat(mIndex); + f32 f = tex.getFloat(mIndex); if (f < 1.0f) { color->r = color->r * f; color->g = color->g * f; |
