Move sqrtf to std:: namespace

This commit is contained in:
LagoLunatic
2024-08-08 14:55:57 -04:00
parent 707fceca57
commit a25d2651de
40 changed files with 100 additions and 99 deletions
+1 -1
View File
@@ -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);
}