diff --git a/include/omath/collision/simplex.hpp b/include/omath/collision/simplex.hpp index e59c132..798e1f0 100644 --- a/include/omath/collision/simplex.hpp +++ b/include/omath/collision/simplex.hpp @@ -58,7 +58,7 @@ namespace omath::collision [[nodiscard]] constexpr bool handle(VectorType& direction) { - switch (m_points.size()) + switch (size()) { case 2: return handle_line(direction);