added additional method

This commit is contained in:
2026-03-03 09:22:11 +03:00
parent 11fe49e801
commit 2dafc8a49d

View File

@@ -42,6 +42,14 @@ namespace omath::collision
m_mesh.set_origin(new_origin); m_mesh.set_origin(new_origin);
} }
const MeshType& get_mesh() const
{
return m_mesh;
}
MeshType& get_mesh()
{
return m_mesh;
}
private: private:
[[nodiscard]] [[nodiscard]]
const VertexType& find_furthest_vertex(const VectorType& direction) const const VertexType& find_furthest_vertex(const VectorType& direction) const