summary refs log tree commit diff
path: root/src/World/Generation/ChunkMeshing.hpp
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2023-07-09 20:51:30 +0200
committerMel <einebeere@gmail.com>2023-07-09 20:51:30 +0200
commit680d9d5b7a61ac955fcec8a5622faa5cf4165c11 (patch)
tree385ada2ac5e666ff4e89e073850c9e1a9b29c99e /src/World/Generation/ChunkMeshing.hpp
parentfe2baedc760c2f29e2c720f6b1132a2de33c5430 (diff)
downloadmeowcraft-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.hpp5
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);
 
 }