diff options
Diffstat (limited to 'src/GFX/Mesh.hpp')
| -rw-r--r-- | src/GFX/Mesh.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GFX/Mesh.hpp b/src/GFX/Mesh.hpp index bfe8eab..1d14ba2 100644 --- a/src/GFX/Mesh.hpp +++ b/src/GFX/Mesh.hpp @@ -49,8 +49,8 @@ public: ) : m_attributes(std::move(attributes)), m_indices() {}; - std::vector<uint32_t> indices(); - std::vector<Attribute> attributes(); + const std::vector<uint32_t>& indices() const; + const std::vector<Attribute>& attributes() const; private: std::vector<Attribute> m_attributes; |
