diff options
| author | Mel <einebeere@gmail.com> | 2023-07-07 21:39:42 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2023-07-07 21:39:42 +0200 |
| commit | f1fc192ddc4c739fa8b4b376c759b7d3218a34eb (patch) | |
| tree | 9e9afb9a21ba3ca27d1f25d46230aa9d27f8be39 /src/World/Generation/ChunkMeshing.hpp | |
| parent | 24b8124469350d1c80d0553cf3f4bf58cdb1489b (diff) | |
| download | meowcraft-f1fc192ddc4c739fa8b4b376c759b7d3218a34eb.tar.zst meowcraft-f1fc192ddc4c739fa8b4b376c759b7d3218a34eb.zip | |
Chunk-bound tree decoration
Diffstat (limited to 'src/World/Generation/ChunkMeshing.hpp')
| -rw-r--r-- | src/World/Generation/ChunkMeshing.hpp | 11 |
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); + +} |
