refactor(Core/Misc): sin() to std::sin() (#9795)
This commit is contained in:
parent
66e6d33116
commit
cb7e355291
66 changed files with 212 additions and 211 deletions
|
|
@ -156,7 +156,7 @@ public:
|
|||
me->SetSpeed(MOVE_FLIGHT, 1.0f, true);
|
||||
me->SetSpeed(MOVE_RUN, 1.0f, true);
|
||||
float x = me->GetPositionX() + 20 * cos(me->GetOrientation());
|
||||
float y = me->GetPositionY() + 20 * sin(me->GetOrientation());
|
||||
float y = me->GetPositionY() + 20 * std::sin(me->GetOrientation());
|
||||
float z = me->GetPositionZ() + 40;
|
||||
me->DisableSpline();
|
||||
me->GetMotionMaster()->Clear(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue