Skip to content

Commit

Permalink
fix min/max conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
GochenRyan committed Feb 19, 2024
1 parent 8eaa0f6 commit 041dd14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/Math/Math.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<float>::quiet_NaN();
static constexpr float FLOAT_MIN = std::numeric_limits<float>::min();
static constexpr float FLOAT_MAX = std::numeric_limits<float>::max();
static constexpr float FLOAT_MIN = (std::numeric_limits<float>::min)();
static constexpr float FLOAT_MAX = (std::numeric_limits<float>::max)();

template<typename T>
static constexpr T DegreeToRadian(T degree) { return degree * DEGREE_TO_RADIAN; }
Expand Down

0 comments on commit 041dd14

Please sign in to comment.