diff options
| author | robojumper <robojumper@gmail.com> | 2025-03-16 12:42:34 +0100 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2025-03-16 22:17:53 +0100 |
| commit | f622030c7162b22b7642506e9a82f5120ca3f18f (patch) | |
| tree | cabd67013bbfe53e439e517d54c7814935cb7089 /src/egg/gfx/eggPostEffectBase.cpp | |
| parent | 861a78a44674c7d1a0851f71186ec24ca5f74449 (diff) | |
Rough outline for LightTexture
Diffstat (limited to 'src/egg/gfx/eggPostEffectBase.cpp')
| -rw-r--r-- | src/egg/gfx/eggPostEffectBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egg/gfx/eggPostEffectBase.cpp b/src/egg/gfx/eggPostEffectBase.cpp index 8f0e3368..101caa72 100644 --- a/src/egg/gfx/eggPostEffectBase.cpp +++ b/src/egg/gfx/eggPostEffectBase.cpp @@ -26,7 +26,7 @@ PostEffectBase::PostEffectBase() { mOffsetY = 0.0f; mScaleX = 1.0f; mScaleY = 1.0f; - field_0x24 = 0.0f; + mRotation = 0.0f; } void PostEffectBase::draw(f32 width, f32 height) { @@ -125,7 +125,7 @@ void PostEffectBase::fn_804AF1B0(GXColor &out, const GXColor &c1, const GXColor void PostEffectBase::getBaseTexMtx(nw4r::math::MTX34 *mtx) const { f32 sin, cos; - nw4r::math::SinCosRad(&sin, &cos, field_0x24 * M_PI); + nw4r::math::SinCosRad(&sin, &cos, mRotation * M_PI); f32 zero = 0.0f; f32 scale = 1.0f; f32 f8 = zero - 0.5f; |
