summaryrefslogtreecommitdiffhomepage
path: root/src/chunk.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-01-11 13:54:53 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-01-11 14:11:47 +0100
commit7867213a01fcabb1f05b1836c2ca59dc3bb2132f (patch)
tree44af754bed0278c8bf3435df6278bd291c3043e5 /src/chunk.hpp
parent74cf06b6b217eff32a547cf73f051f27e6b80919 (diff)
rename tile_atlas -> ground_atlas
Diffstat (limited to 'src/chunk.hpp')
-rw-r--r--src/chunk.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp
index 3005475c..1f144ca7 100644
--- a/src/chunk.hpp
+++ b/src/chunk.hpp
@@ -103,7 +103,7 @@ struct chunk final
void ensure_alloc_ground();
void ensure_alloc_walls();
ground_mesh_tuple ensure_ground_mesh() noexcept;
- tile_atlas* ground_atlas_at(size_t i) const noexcept;
+ ground_atlas* ground_atlas_at(size_t i) const noexcept;
wall_atlas* wall_atlas_at(size_t i) const noexcept;
wall_mesh_tuple ensure_wall_mesh() noexcept;
@@ -129,7 +129,7 @@ struct chunk final
private:
struct ground_stuff
{
- std::array<std::shared_ptr<tile_atlas>, TILE_COUNT> atlases;
+ std::array<std::shared_ptr<ground_atlas>, TILE_COUNT> atlases;
std::array<uint8_t, TILE_COUNT> indexes = {};
std::array<variant_t, TILE_COUNT> variants = {};
};