diff options
| author | Jcw87 <Jcw87@users.noreply.github.com> | 2023-12-13 01:09:01 -0800 |
|---|---|---|
| committer | Jcw87 <Jcw87@users.noreply.github.com> | 2023-12-14 01:34:13 -0800 |
| commit | 554f653bbc1e2a71fb8d67751d43a350b1f228df (patch) | |
| tree | 121575f0f9b9de4215ec2d0c9b1b73c5df6c7250 /include/JSystem/JParticle | |
| parent | dc60a905716cbbf7e6cd02e18af32179146543e6 (diff) | |
d_particle
Diffstat (limited to 'include/JSystem/JParticle')
| -rw-r--r-- | include/JSystem/JParticle/JPAEmitter.h | 6 | ||||
| -rw-r--r-- | include/JSystem/JParticle/JPAParticle.h | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/JSystem/JParticle/JPAEmitter.h b/include/JSystem/JParticle/JPAEmitter.h index 5b567441..8008f803 100644 --- a/include/JSystem/JParticle/JPAEmitter.h +++ b/include/JSystem/JParticle/JPAEmitter.h @@ -213,6 +213,11 @@ public: mGlobalPrmColor.g = g; mGlobalPrmColor.b = b; } + void setGlobalEnvColor(u8 r, u8 g, u8 b) { + mGlobalEnvColor.r = r; + mGlobalEnvColor.g = g; + mGlobalEnvColor.b = b; + } void setVolumeSweep(f32 i_volSweep) { mVolumeSweep = i_volSweep; } void setVolumeSize(u16 size) { mVolumeSize = size; } @@ -284,7 +289,6 @@ public: void isZDraw() {} void loadTexture(u8, GXTexMapID) {} void setEmitterRotation(const JGeometry::TVec3<s16>&) {} - void setGlobalEnvColor(u8, u8, u8) {} void setGlobalParticleHeightScale(f32) {} void setGlobalParticleScale(f32, f32) {} void setGlobalParticleWidthScale(f32) {} diff --git a/include/JSystem/JParticle/JPAParticle.h b/include/JSystem/JParticle/JPAParticle.h index 6dc3e6af..371e264a 100644 --- a/include/JSystem/JParticle/JPAParticle.h +++ b/include/JSystem/JParticle/JPAParticle.h @@ -33,6 +33,7 @@ public: ~JPABaseParticle() {} JPABaseParticle() : mLink(this), mCurFrame(0.0f) {} + void setOffsetPosition(f32 x, f32 y, f32 z) { mGlobalPosition.set(x, y, z); } public: /* 0x00 */ JSULink<JPABaseParticle> mLink; |
