mirror of
https://github.com/orange-cpp/omath.git
synced 2026-04-18 21:43:27 +00:00
added nodiscard
This commit is contained in:
@@ -42,10 +42,12 @@ namespace omath::collision
|
|||||||
m_mesh.set_origin(new_origin);
|
m_mesh.set_origin(new_origin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[[nodiscard]]
|
||||||
const MeshType& get_mesh() const
|
const MeshType& get_mesh() const
|
||||||
{
|
{
|
||||||
return m_mesh;
|
return m_mesh;
|
||||||
}
|
}
|
||||||
|
[[nodiscard]]
|
||||||
MeshType& get_mesh()
|
MeshType& get_mesh()
|
||||||
{
|
{
|
||||||
return m_mesh;
|
return m_mesh;
|
||||||
|
|||||||
Reference in New Issue
Block a user