From 62d1a615ae6e89139fee7cd8266b6d37325c39f7 Mon Sep 17 00:00:00 2001 From: Orange Date: Sun, 9 Nov 2025 15:50:07 +0300 Subject: [PATCH] fix --- include/omath/collision/simplex.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);