Culling, rendering improvements and optimizations, block removing test.

This commit is contained in:
2025-09-02 22:43:35 +02:00
parent a9cab195b6
commit 00713db79e
16 changed files with 390 additions and 210 deletions

View File

@@ -8,12 +8,15 @@ internal class Program
int sizeY = 600;
string title = "Game";
Window window = new Window(sizeX, sizeY, title);
Chunk chunk = new Chunk(0, 0);
var faces = chunk.GetFaces();
Renderer.AddFaces(faces);
ChunkMesh chunkMesh = chunk.GetChunkMesh();
Renderer.AddFaces(chunkMesh.Faces);
window.Chunk = chunk;
Window window = new Window(sizeX, sizeY, title);
window.Run();
}
}