diff --git a/public/Math/Math.hpp b/public/Math/Math.hpp index 4903e66..8721b40 100644 --- a/public/Math/Math.hpp +++ b/public/Math/Math.hpp @@ -33,8 +33,8 @@ class Math final static constexpr float HALF_SQRT_3 = SQRT_3 / 2.0f; static constexpr float INVERSE_SQRT_3 = 1.0f / SQRT_3; static constexpr float FLOAT_NAN = std::numeric_limits::quiet_NaN(); - static constexpr float FLOAT_MIN = std::numeric_limits::min(); - static constexpr float FLOAT_MAX = std::numeric_limits::max(); + static constexpr float FLOAT_MIN = (std::numeric_limits::min)(); + static constexpr float FLOAT_MAX = (std::numeric_limits::max)(); template static constexpr T DegreeToRadian(T degree) { return degree * DEGREE_TO_RADIAN; }