mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-02 02:23:49 +00:00
refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() (#9792)
This commit is contained in:
@@ -648,7 +648,7 @@ G3D::Vector3 TranslateLocation(G3D::Vector4 const* DBCPosition, G3D::Vector3 con
|
||||
float x = basePosition->x + splineVector->x;
|
||||
float y = basePosition->y + splineVector->y;
|
||||
float z = basePosition->z + splineVector->z;
|
||||
float const distance = sqrt((x * x) + (y * y));
|
||||
float const distance = std::sqrt((x * x) + (y * y));
|
||||
float angle = std::atan2(x, y) - DBCPosition->w;
|
||||
|
||||
if (angle < 0)
|
||||
|
||||
Reference in New Issue
Block a user