mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-08 02:30:21 -04:00
Add missing inlines for JPADraw
This commit is contained in:
@@ -8,6 +8,7 @@ class JPAExTexShape;
|
||||
|
||||
class JPADrawSetupTev {
|
||||
public:
|
||||
JPADrawSetupTev() {}
|
||||
~JPADrawSetupTev() {}
|
||||
void setupTev(JPABaseShape* param_1, JPAExTexShape* param_2);
|
||||
|
||||
|
||||
@@ -237,6 +237,8 @@ public:
|
||||
void setGlobalParticleScale(f32 scaleX, f32 scaleY) {
|
||||
mGlobalParticleScale.set(scaleX, scaleY, 1.0f);
|
||||
}
|
||||
void setGlobalParticleWidthScale(f32 x) { mGlobalParticleScale.x = x; }
|
||||
void setGlobalParticleHeightScale(f32 y) { mGlobalParticleScale.y = y; }
|
||||
void setGlobalDynamicsScale(const JGeometry::TVec3<f32>& scale) {
|
||||
mGlobalDynamicsScale.set(scale);
|
||||
}
|
||||
@@ -260,6 +262,8 @@ public:
|
||||
mGlobalEnvColor.g = g;
|
||||
mGlobalEnvColor.b = b;
|
||||
}
|
||||
void getBaseEnvColor(GXColor& color) { color = mGlobalEnvColor; }
|
||||
void getBasePrmColor(GXColor& color) { color = mGlobalPrmColor; }
|
||||
|
||||
void setVolumeSweep(f32 i_volSweep) { mVolumeSweep = i_volSweep; }
|
||||
void setVolumeSize(u16 size) { mVolumeSize = size; }
|
||||
@@ -316,17 +320,12 @@ public:
|
||||
void calcEmitterGlobalTranslation(JGeometry::TVec3<f32>&) {}
|
||||
void drawCB() {}
|
||||
void drawEmitterCallBack() {}
|
||||
void getAxisYVec(JGeometry::TVec3<f32>&) const {}
|
||||
void getBaseEnvColor(GXColor&) {}
|
||||
void getBasePrmColor(GXColor&) {}
|
||||
void getCurrentCreateNumber() const {}
|
||||
f32 getFrame() { return mTick.getFrame(); }
|
||||
void getgReRDirection(JGeometry::TVec3<f32>&) {}
|
||||
void isContinuousParticle() {}
|
||||
void loadTexture(u8, GXTexMapID) {}
|
||||
void setEmitterRotation(const JGeometry::TVec3<s16>&) {}
|
||||
void setGlobalParticleHeightScale(f32 y) { mGlobalParticleScale.y = y; }
|
||||
void setGlobalParticleWidthScale(f32 x) { mGlobalParticleScale.x = x; }
|
||||
|
||||
static JPAEmitterInfo emtrInfo;
|
||||
|
||||
@@ -338,6 +337,10 @@ public:
|
||||
vec1.set(emtrInfo.mEmitterGlobalRot[0][1], emtrInfo.mEmitterGlobalRot[1][1], emtrInfo.mEmitterGlobalRot[2][1]);
|
||||
vec2.set(emtrInfo.mEmitterGlobalRot[0][2], emtrInfo.mEmitterGlobalRot[1][2], emtrInfo.mEmitterGlobalRot[2][2]);
|
||||
}
|
||||
void getAxisYVec(JGeometry::TVec3<f32>& vec) const {
|
||||
// Same as above comment, this implementation could be fake.
|
||||
vec.set(emtrInfo.mEmitterGlobalRot[0][1], emtrInfo.mEmitterGlobalRot[1][1], emtrInfo.mEmitterGlobalRot[2][1]);
|
||||
}
|
||||
|
||||
static f32 getAspect() { return emtrInfo.mAspect; }
|
||||
static f32 getFovy() { return emtrInfo.mFovy; }
|
||||
|
||||
Reference in New Issue
Block a user