mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 21:33:07 -04:00
Move sqrtf to std:: namespace
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ namespace daObj {
|
||||
}
|
||||
|
||||
pActor->speed.set(x, y, z);
|
||||
pActor->speedF = sqrtf(x * x + z * z);
|
||||
pActor->speedF = std::sqrtf(x * x + z * z);
|
||||
pActor->current.angle.y = cM_atan2s(spf, grav);
|
||||
fopAcM_posMove(pActor, pAddVel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user