diff --git a/src/bounds.hpp b/src/bounds.hpp index feaacda..c582503 100644 --- a/src/bounds.hpp +++ b/src/bounds.hpp @@ -1,6 +1,7 @@ #include #include #include +#include #include "titanfall.hpp" @@ -9,8 +10,8 @@ struct MinMax { __m128 min, max; MinMax() { - min = _mm_setzero_ps(); - max = _mm_setzero_ps(); + min = _mm_set_ps1(std::numeric_limits::max()); + max = _mm_set_ps1(std::numeric_limits::lowest()); } MinMax(const __m128 &start) {