diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-08-09 08:27:53 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-08-11 11:07:54 +0200 |
| commit | bb4fb9bc999494e112371e7ecd7702fe9c145059 (patch) | |
| tree | 402269db61024fa16befc3320d348aabd96cd482 /src/chunk.hpp | |
| parent | b476ddacc61b185cad98b198997a76f999d9706a (diff) | |
src: unroll chunk wall rendering loop
Diffstat (limited to 'src/chunk.hpp')
| -rw-r--r-- | src/chunk.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp index 9efa0c9d..cfc8c5cb 100644 --- a/src/chunk.hpp +++ b/src/chunk.hpp @@ -115,7 +115,6 @@ public: pass_region make_pass_region(bool debug = false, ArrayView<const Vector2i> positions = {}); pass_region make_pass_region(const Search::pred& f, bool debug = false, ArrayView<const Vector2i> positions = {}); -private: struct ground_stuff { std::array<bptr<ground_atlas>, TILE_COUNT> atlases; @@ -130,6 +129,7 @@ private: std::array<uint_fast16_t, max_wall_quad_count> mesh_indexes; }; +private: Pointer<ground_stuff> _ground; Pointer<wall_stuff> _walls; Array<bptr<object>> _objects; |
