mirror of
https://github.com/zeldaret/tp
synced 2026-07-07 14:13:27 -04:00
d_particle equivalent (#2869)
This commit is contained in:
@@ -164,7 +164,16 @@ public:
|
||||
mGlobalPScl.set(scaleX, scaleY);
|
||||
}
|
||||
void getGlobalParticleScale(JGeometry::TVec3<f32>& scale) const {
|
||||
//TODO: Possible fakematch. Debug and Wii indicate TVec3::set, but using it breaks regalloc
|
||||
// in dPa_gen_b_light8PcallBack::draw on GCN (where the call to set would normally be
|
||||
// inlined).
|
||||
#if PLATFORM_GCN
|
||||
scale.x = mGlobalPScl.x;
|
||||
scale.y = mGlobalPScl.y;
|
||||
scale.z = 1.0f;
|
||||
#else
|
||||
scale.set(mGlobalPScl.x, mGlobalPScl.y, 1.0f);
|
||||
#endif
|
||||
}
|
||||
void setGlobalScale(const JGeometry::TVec3<f32>& scale) {
|
||||
mGlobalScl.set(scale);
|
||||
|
||||
@@ -79,7 +79,6 @@ public:
|
||||
*/
|
||||
class JPAParticleCallBack {
|
||||
public:
|
||||
JPAParticleCallBack() {}
|
||||
virtual ~JPAParticleCallBack() = 0;
|
||||
virtual void execute(JPABaseEmitter*, JPABaseParticle*) {}
|
||||
virtual void draw(JPABaseEmitter*, JPABaseParticle*) {}
|
||||
|
||||
Reference in New Issue
Block a user