refactor(Core/Misc): fmod() to std::fmod() (#9796)

- prefer std functions over C functions
This commit is contained in:
Kitzunu
2021-12-21 05:16:59 +01:00
committed by GitHub
parent 6b259cd14b
commit 7617ae4645
3 changed files with 5 additions and 5 deletions

View File

@@ -156,7 +156,7 @@ public:
float NormalizeOrientation(float o)
{
return fmod(o, 2.0f * static_cast<float>(M_PI)); // Only positive values will be passed
return std::fmod(o, 2.0f * static_cast<float>(M_PI)); // Only positive values will be passed
}
void SpawnHelpers()