diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-05-22 15:08:59 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-05-22 15:08:59 -0400 |
| commit | 98956b312d4e8ad4c18286e23f48c5e1d68aa9fe (patch) | |
| tree | cee7c3905518b0ccb18125b8167f6017c2b9ddc6 /src/d/d_particle.cpp | |
| parent | 02b81a670b1ee28c1fbb172fc2d43bfb659e06b7 (diff) | |
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.
Diffstat (limited to 'src/d/d_particle.cpp')
| -rw-r--r-- | src/d/d_particle.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/d/d_particle.cpp b/src/d/d_particle.cpp index 20d9c4b7..c26a7457 100644 --- a/src/d/d_particle.cpp +++ b/src/d/d_particle.cpp @@ -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) { |
