From e10cbf935683f72f2b0ec893cb31a9da858630e2 Mon Sep 17 00:00:00 2001 From: Orange Date: Sun, 14 Dec 2025 11:06:15 +0300 Subject: [PATCH] added const --- include/omath/collision/epa_algorithm.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/omath/collision/epa_algorithm.hpp b/include/omath/collision/epa_algorithm.hpp index 7b5a678..0496b87 100644 --- a/include/omath/collision/epa_algorithm.hpp +++ b/include/omath/collision/epa_algorithm.hpp @@ -99,7 +99,7 @@ namespace omath::collision const int new_idx = static_cast(vertexes.size()); vertexes.emplace_back(p); - auto [to_delete, boundary] = mark_visible_and_collect_horizon(faces, p); + const auto [to_delete, boundary] = mark_visible_and_collect_horizon(faces, p); erase_marked(faces, to_delete);