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:
LagoLunatic
2026-05-22 15:08:59 -04:00
parent 02b81a670b
commit 98956b312d
5 changed files with 10 additions and 29 deletions
+1 -4
View File
@@ -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) {