diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-10 23:35:48 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-10 23:35:48 +0100 |
commit | 9aba8139b728d3b25f5763ddc134b09e5a2e1948 (patch) | |
tree | 37f18eee33ba98b79c5980961a0f12fbc9017b51 /src/chunk.hpp | |
parent | 4e46a8101b2063457ac0c56770e58cd0bedf52ea (diff) |
w
Diffstat (limited to 'src/chunk.hpp')
-rw-r--r-- | src/chunk.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp index d9daf436..2331bef8 100644 --- a/src/chunk.hpp +++ b/src/chunk.hpp @@ -79,7 +79,7 @@ struct chunk final }; struct wall_mesh_tuple final { GL::Mesh& mesh; - const ArrayView<const uint16_t> ids; + const ArrayView<const uint_fast16_t> indexes; const size_t size; }; struct topo_sort_data; @@ -134,7 +134,7 @@ private: { std::array<std::shared_ptr<wall_atlas>, 2*TILE_COUNT> atlases; std::array<variant_t, 2*TILE_COUNT> variants; - std::array<uint16_t, max_wall_quad_count> mesh_indexes; + std::array<uint_fast16_t, max_wall_quad_count> mesh_indexes; }; Pointer<ground_stuff> _ground; |