diff options
| author | robojumper <robojumper@gmail.com> | 2025-03-20 16:42:31 +0100 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2025-03-20 16:42:31 +0100 |
| commit | bd2c72d8c2b32b5568f75a51e9457d1bbdb6c613 (patch) | |
| tree | 40005b766ed989ead6edd138224a3fc8f8ce13b0 /src/egg/gfx/eggPostEffectBase.cpp | |
| parent | 217851300addd1b53a8c55e7892c21acb0cc19eb (diff) | |
Some PostEffect
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 101caa72..2c93e001 100644 --- a/src/egg/gfx/eggPostEffectBase.cpp +++ b/src/egg/gfx/eggPostEffectBase.cpp @@ -96,7 +96,7 @@ void PostEffectBase::setBlendModeInternal() { } } -void PostEffectBase::fn_804AF040(GXColor &out, const GXColor &c, bool bClamp, f32 amount) { +void PostEffectBase::scaleColor(GXColor &out, const GXColor &c, bool bClamp, f32 amount) { f32 fs[4]; fs[0] = c.r * amount; fs[1] = c.g * amount; @@ -116,7 +116,7 @@ void PostEffectBase::fn_804AF040(GXColor &out, const GXColor &c, bool bClamp, f3 } } -void PostEffectBase::fn_804AF1B0(GXColor &out, const GXColor &c1, const GXColor &c2, f32 amount) { +void PostEffectBase::lerpColor(GXColor &out, const GXColor &c1, const GXColor &c2, f32 amount) { out.r = c1.r + amount * (c2.r - c1.r); out.g = c1.g + amount * (c2.g - c1.g); out.b = c1.b + amount * (c2.b - c1.b); |
