More PostEffect Progress

This commit is contained in:
elijah-thomas774
2025-03-23 21:01:17 -04:00
parent 3ef9b0df8b
commit 31728178d9
7 changed files with 88 additions and 30 deletions
+13 -8
View File
@@ -5,6 +5,7 @@
#include "egg/gfx/eggCapTexture.h"
#include "egg/gfx/eggScreen.h"
#include "egg/math/eggMath.h"
#include "egg/math/eggRotation.h"
#include "nw4r/math/math_types.h"
#include "rvl/GX/GXTypes.h"
@@ -22,15 +23,19 @@ public:
static void setProjection(const EGG::Screen &screen);
f32 getRot() const {
return mRotation;
}
protected:
u32 field_0x00; // at 0x0
CapTextureWrapper mTex1; // at 0x4
CapTextureWrapper mTex2; // at 0xC
f32 mOffsetX; // at 0x14
f32 mOffsetY; // at 0x18
f32 mScaleX; // at 0x1C
f32 mScaleY; // at 0x20
f32 mRotation; // at 0x24
u32 field_0x00; // at 0x0
CapTextureWrapper mTex1; // at 0x4
CapTextureWrapper mTex2; // at 0xC
f32 mOffsetX; // at 0x14
f32 mOffsetY; // at 0x18
f32 mScaleX; // at 0x1C
f32 mScaleY; // at 0x20
EGG::Rotation<f32> mRotation; // at 0x24
PostEffectBase();
virtual ~PostEffectBase() {} // at 0x8
+3 -3
View File
@@ -16,9 +16,9 @@ public:
virtual void setMaterialInternal() override;
virtual ~PostEffectMaskDOF() {}
const GXColor &getNearColor();
const GXColor &getFarColor();
const GXColor &getCenterColor();
static const GXColor &getNearColor();
static const GXColor &getFarColor();
static const GXColor &getCenterColor();
private:
/* 0x2C */ u8 field_0x2C;