mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-15 12:39:11 -04:00
Move fmodf, atan2f, sinf, and cosf to std:: namespace
This commit is contained in:
@@ -323,7 +323,7 @@ u32 JUTGamePad::CStick::update(s8 x_val, s8 y_val, EStickMode mode, EWhichStick
|
||||
mAngle = -0x4000;
|
||||
}
|
||||
} else {
|
||||
mAngle = 10430.379f * atan2f(mPosX, -mPosY);
|
||||
mAngle = 10430.379f * std::atan2f(mPosX, -mPosY);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user