From 68f4c8cc721bbcea8e6a631ec08ebc8e1b2088d2 Mon Sep 17 00:00:00 2001 From: orange Date: Tue, 3 Mar 2026 09:38:05 +0300 Subject: [PATCH] added nodiscard --- include/omath/collision/mesh_collider.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/omath/collision/mesh_collider.hpp b/include/omath/collision/mesh_collider.hpp index a907237..c02bdab 100644 --- a/include/omath/collision/mesh_collider.hpp +++ b/include/omath/collision/mesh_collider.hpp @@ -42,10 +42,12 @@ namespace omath::collision m_mesh.set_origin(new_origin); } + [[nodiscard]] const MeshType& get_mesh() const { return m_mesh; } + [[nodiscard]] MeshType& get_mesh() { return m_mesh;