diff options
| author | Mel <einebeere@gmail.com> | 2023-07-09 20:51:30 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2023-07-09 20:51:30 +0200 |
| commit | 680d9d5b7a61ac955fcec8a5622faa5cf4165c11 (patch) | |
| tree | 385ada2ac5e666ff4e89e073850c9e1a9b29c99e /src/World/Generation/ChunkMeshing.hpp | |
| parent | fe2baedc760c2f29e2c720f6b1132a2de33c5430 (diff) | |
| download | meowcraft-680d9d5b7a61ac955fcec8a5622faa5cf4165c11.tar.zst meowcraft-680d9d5b7a61ac955fcec8a5622faa5cf4165c11.zip | |
Ambient occlusion (without corners)
Diffstat (limited to 'src/World/Generation/ChunkMeshing.hpp')
| -rw-r--r-- | src/World/Generation/ChunkMeshing.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/World/Generation/ChunkMeshing.hpp b/src/World/Generation/ChunkMeshing.hpp index 6ec77af..dd9446b 100644 --- a/src/World/Generation/ChunkMeshing.hpp +++ b/src/World/Generation/ChunkMeshing.hpp @@ -5,7 +5,10 @@ namespace MC::World::Generation::ChunkMeshing { -struct ChunkNeighbors { Chunk &north, &east, &south, &west; }; +struct ChunkNeighbors { + Chunk *north, *east, *south, *west; + Chunk *north_east, *south_east, *south_west, *north_west; +}; GFX::Mesh create_mesh_for_chunk(Chunk& chunk, const ChunkNeighbors& neighbors); } |
