mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() (#9792)
This commit is contained in:
@@ -103,7 +103,7 @@ public:
|
||||
|
||||
[[nodiscard]] float length() const
|
||||
{
|
||||
return sqrt(x * x + y * y + z * z);
|
||||
return std::sqrt(x * x + y * y + z * z);
|
||||
}
|
||||
|
||||
Vec3D& normalize()
|
||||
@@ -216,7 +216,7 @@ public:
|
||||
|
||||
[[nodiscard]] float length() const
|
||||
{
|
||||
return sqrt(x * x + y * y);
|
||||
return std::sqrt(x * x + y * y);
|
||||
}
|
||||
|
||||
Vec2D& normalize()
|
||||
|
||||
Reference in New Issue
Block a user