aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh.cpp')
-rw-r--r--src/mesh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh.cpp b/src/mesh.cpp
index 3863ca8..cbfe392 100644
--- a/src/mesh.cpp
+++ b/src/mesh.cpp
@@ -1,6 +1,6 @@
#include "mesh.hpp"
-static std::vector<Mesh> meshes {};
+static std::vector<Mesh> registered_meshes {};
void Mesh::add_submesh(const submesh& submesh, material& material) {
submeshes.emplace_back(
@@ -42,5 +42,5 @@ void Mesh::add_submesh(const submesh& submesh, material& material) {
}
void Mesh::register_mesh(const Mesh& mesh) {
- meshes.push_back(mesh);
+ registered_meshes.push_back(mesh);
}