mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-01 14:57:48 +00:00
refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() (#9792)
This commit is contained in:
@@ -170,7 +170,7 @@ Vector3 Utils::GetLiquidVert(const IDefinition& def, Vector3 basePosition, float
|
||||
|
||||
float Utils::Distance( float x, float y )
|
||||
{
|
||||
return sqrt(x * x + y * y);
|
||||
return std::sqrt(x * x + y * y);
|
||||
}
|
||||
|
||||
std::string Utils::Replace( std::string str, const std::string& oldStr, const std::string& newStr )
|
||||
|
||||
Reference in New Issue
Block a user