summaryrefslogtreecommitdiffhomepage
path: root/src/chunk-scenery.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chunk-scenery.hpp')
-rw-r--r--src/chunk-scenery.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chunk-scenery.hpp b/src/chunk-scenery.hpp
index cbe2ea83..1363479b 100644
--- a/src/chunk-scenery.hpp
+++ b/src/chunk-scenery.hpp
@@ -11,6 +11,7 @@ struct chunk::topo_sort_data
entity* in = nullptr;
Vector2i min, max, center;
+ uint32_t in_mesh_idx;
float slope = 0, ord;
Vector2s bb_min = {}, bb_max = {};
m mode : 2 = mode_none;
@@ -21,6 +22,7 @@ struct chunk::topo_sort_data
struct chunk::entity_draw_order
{
entity *e;
+ uint32_t mesh_idx;
float ord;
topo_sort_data data;
};