mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 14:16:31 +00:00
refactor(Core/Misc): fmod() to std::fmod() (#9796)
- prefer std functions over C functions
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user