summary refs log tree commit diff
path: root/src/World/Generation/ChunkMeshing.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/World/Generation/ChunkMeshing.hpp')
-rw-r--r--src/World/Generation/ChunkMeshing.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/World/Generation/ChunkMeshing.hpp b/src/World/Generation/ChunkMeshing.hpp
new file mode 100644
index 0000000..a4fed25
--- /dev/null
+++ b/src/World/Generation/ChunkMeshing.hpp
@@ -0,0 +1,11 @@
+#pragma once
+
+#include "../../GFX/Mesh.hpp"
+#include "../Chunk.hpp"
+
+namespace MC::World::Generation::ChunkMeshing {
+
+struct ChunkNeighbors { Chunk &north, &east, &south, &west; };
+GFX::Mesh create_mesh_for_chunk(Chunk& chunk, ChunkNeighbors neighbors);
+
+}