aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesh.cpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2026-05-05 00:50:13 +0200
committerladevieq <ladevie.quentin@gmail.com>2026-05-05 00:50:49 +0200
commit37fdcb8a0f435c42f737252450626f2bd38bbd0f (patch)
tree7eeb45a2d2d08483409a04c74fbc74fb2bbcde9f /src/mesh.cpp
parent6818cbfe21beefc04e4a174d44a92159c34cead1 (diff)
Clean up around included files
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);
}