summary refs log tree commit diff
path: root/src/GFX/Mesh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GFX/Mesh.cpp')
-rw-r--r--src/GFX/Mesh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GFX/Mesh.cpp b/src/GFX/Mesh.cpp
index b0271bb..1869622 100644
--- a/src/GFX/Mesh.cpp
+++ b/src/GFX/Mesh.cpp
@@ -2,11 +2,11 @@
 
 namespace MC::GFX {
 
-std::vector<uint32_t> Mesh::indices() {
+const std::vector<uint32_t>& Mesh::indices() const {
     return m_indices;
 }
 
-std::vector<Mesh::Attribute> Mesh::attributes() {
+const std::vector<Mesh::Attribute>& Mesh::attributes() const {
     return m_attributes;
 }