mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 13:24:12 -04:00
Clean up JGeometry::TVec3 jank/fakematches
It seems the const parameters might not be necessary after all, and these can be matched with (f32)/(s16) casts in set(T, T, T) instead.
This commit is contained in:
@@ -1049,10 +1049,7 @@ void dPa_waveEcallBack::executeAfter(JPABaseEmitter* emitter) {
|
||||
}
|
||||
f32 speed = mVelFade1 * vel * mVelFade2;
|
||||
|
||||
JGeometry::TVec3<s16> rot;
|
||||
rot.x = 0;
|
||||
rot.y = mpRot->y;
|
||||
rot.z = 0;
|
||||
JGeometry::TVec3<s16> rot(0, mpRot->y, 0);
|
||||
emitter->setGlobalRotation(rot);
|
||||
|
||||
if (std::fabsf(speed - mVel) > mVelSpeed) {
|
||||
|
||||
Reference in New Issue
Block a user