From 2dafc8a49d510f9b3b30d37c20c4189fcc5e4593 Mon Sep 17 00:00:00 2001 From: orange Date: Tue, 3 Mar 2026 09:22:11 +0300 Subject: [PATCH] added additional method --- include/omath/collision/mesh_collider.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/omath/collision/mesh_collider.hpp b/include/omath/collision/mesh_collider.hpp index accbe57..a907237 100644 --- a/include/omath/collision/mesh_collider.hpp +++ b/include/omath/collision/mesh_collider.hpp @@ -42,6 +42,14 @@ namespace omath::collision m_mesh.set_origin(new_origin); } + const MeshType& get_mesh() const + { + return m_mesh; + } + MeshType& get_mesh() + { + return m_mesh; + } private: [[nodiscard]] const VertexType& find_furthest_vertex(const VectorType& direction) const