summary refs log tree commit diff
path: root/src/World/Generation/ChunkMeshing.hpp
blob: 6ec77af725ec805bba067274f432d134068ea96d (plain)
1
2
3
4
5
6
7
8
9
10
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, const ChunkNeighbors& neighbors);

}