refactor(Core/Misc): sqrt/log/exp() to std::sqrt/log/exp() (#9792)

This commit is contained in:
Kitzunu
2022-02-09 11:59:30 +01:00
committed by GitHub
parent 65a1fbfd35
commit cf65cd6baf
15 changed files with 24 additions and 24 deletions

View File

@@ -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()