summaryrefslogtreecommitdiffhomepage
path: root/src/chunk-scenery.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-26 21:35:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-03-26 21:35:34 +0200
commitc27896540f0a1051183cb3f0de314f170d3c32c3 (patch)
treee1564ff15dfbd4efd45a1bc0297f63f3261afd02 /src/chunk-scenery.hpp
parent971307ae56bf8ad15e049b91ea3ebd140c81d4cd (diff)
src/chunk: rename draw_entity -> entity_draw_order
Diffstat (limited to 'src/chunk-scenery.hpp')
-rw-r--r--src/chunk-scenery.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chunk-scenery.hpp b/src/chunk-scenery.hpp
index 56efdfd7..fcb59c50 100644
--- a/src/chunk-scenery.hpp
+++ b/src/chunk-scenery.hpp
@@ -17,7 +17,7 @@ struct chunk::topo_sort_data
bool intersects(const topo_sort_data& other) const;
};
-struct chunk::draw_entity
+struct chunk::entity_draw_order
{
const entity *e;
float ord;
@@ -25,7 +25,7 @@ struct chunk::draw_entity
};
struct chunk::scenery_mesh_tuple {
GL::Mesh& mesh;
- ArrayView<draw_entity> array;
+ ArrayView<entity_draw_order> array;
size_t size;
};