From a6cf043d792ff541e946bef4ae0966fa9f67d41b Mon Sep 17 00:00:00 2001 From: Orange Date: Sun, 9 Nov 2025 22:27:04 +0300 Subject: [PATCH] style fix --- include/omath/collision/mesh_collider.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/omath/collision/mesh_collider.hpp b/include/omath/collision/mesh_collider.hpp index 2534cf9..14fc505 100644 --- a/include/omath/collision/mesh_collider.hpp +++ b/include/omath/collision/mesh_collider.hpp @@ -16,16 +16,13 @@ namespace omath::collision using VertexType = Vector3; explicit MeshCollider(MeshType mesh): m_mesh(std::move(mesh)) { - } [[nodiscard]] const Vector3& find_furthest_vertex(const Vector3& direction) const { return *std::ranges::max_element(m_mesh.m_vertex_buffer, [&direction](const auto& first, const auto& second) - { - return first.dot(direction) < second.dot(direction); - }); + { return first.dot(direction) < second.dot(direction); }); } [[nodiscard]]