mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 05:22:39 -04:00
Move abs and fabsf to std namespace
This commit is contained in:
@@ -884,7 +884,7 @@ void dPa_waveEcallBack::executeAfter(JPABaseEmitter* emitter) {
|
||||
rot.z = 0;
|
||||
emitter->setGlobalRotation(rot);
|
||||
|
||||
if (fabsf(speed - mVel) > mVelSpeed) {
|
||||
if (std::fabsf(speed - mVel) > mVelSpeed) {
|
||||
if (speed - mVel > 0.0f) {
|
||||
speed = mVel + mVelSpeed;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user