added const

This commit is contained in:
2025-12-14 11:06:15 +03:00
parent 37ce7f41e5
commit ec6808c8f2

View File

@@ -99,7 +99,7 @@ namespace omath::collision
const int new_idx = static_cast<int>(vertexes.size()); const int new_idx = static_cast<int>(vertexes.size());
vertexes.emplace_back(p); 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); erase_marked(faces, to_delete);