diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-09 10:35:53 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-09 10:35:53 +0100 |
commit | 3464b29a50c1718a298b7e48c5e9c0dd509f1bb1 (patch) | |
tree | c630535a27d3f047a43c22fa249fc33e07129cdc /src/chunk.hpp | |
parent | b8b9e24acff21404943252f70ba137c7a8d0be72 (diff) |
w
Diffstat (limited to 'src/chunk.hpp')
-rw-r--r-- | src/chunk.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp index 067b8811..b22ab5e9 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 uint_fast16_t> ids; + const ArrayView<const uint16_t> ids; const size_t size; }; struct topo_sort_data; @@ -134,8 +134,7 @@ private: std::array<std::shared_ptr<wall_atlas>, 2*TILE_COUNT> atlases; std::array<variant_t, 2*TILE_COUNT> variants; - std::array<uint_fast16_t, max_wall_mesh_size> mesh_indexes; - uint32_t mesh_quad_count = 0; + std::array<uint16_t, max_wall_mesh_size> mesh_indexes; }; Pointer<ground_stuff> _ground; |