From f1fc192ddc4c739fa8b4b376c759b7d3218a34eb Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 7 Jul 2023 21:39:42 +0200 Subject: Chunk-bound tree decoration --- src/World/Generation/ChunkMeshing.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/World/Generation/ChunkMeshing.hpp (limited to 'src/World/Generation/ChunkMeshing.hpp') 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); + +} -- cgit 1.4.1