From 2ddf29b158c62423b20aa01f11a4b87f58d1045f Mon Sep 17 00:00:00 2001 From: Orange Date: Sun, 14 Dec 2025 09:53:12 +0300 Subject: [PATCH] style fix --- include/omath/collision/epa_algorithm.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/omath/collision/epa_algorithm.hpp b/include/omath/collision/epa_algorithm.hpp index 5b88149..e2bb72c 100644 --- a/include/omath/collision/epa_algorithm.hpp +++ b/include/omath/collision/epa_algorithm.hpp @@ -19,7 +19,7 @@ namespace omath::collision { a.cross(b) } -> std::same_as; { a.dot(b) } -> std::same_as; { -a } -> std::same_as; - { a* s } -> std::same_as; + { a * s } -> std::same_as; { a / s } -> std::same_as; }; @@ -198,10 +198,10 @@ namespace omath::collision [[nodiscard]] static Heap rebuild_heap(const std::pmr::vector& faces, auto& memory_resource) { - std::pmr::vector storage{ &memory_resource }; + std::pmr::vector storage{&memory_resource}; storage.reserve(faces.size()); // optional but recommended - Heap h{ HeapCmp{}, std::move(storage) }; + Heap h{HeapCmp{}, std::move(storage)}; for (int i = 0; i < static_cast(faces.size()); ++i) h.emplace(faces[i].d, i);