feat: add face-culled chunk mesher behind IChunkMesher

This commit is contained in:
2026-05-28 12:00:26 +02:00
parent 90be1035d4
commit ecae0d4ce4
3 changed files with 155 additions and 0 deletions

7
World/IChunkMesher.cs Normal file
View File

@@ -0,0 +1,7 @@
namespace VoxelEngine.World;
public interface IChunkMesher
{
// Returns interleaved vertices: [pos.x, pos.y, pos.z, u, v, shade] per vertex.
float[] Build(Chunk chunk, BlockRegistry registry);
}