feat: add support for negative chunk coordinates

This commit is contained in:
2026-03-12 22:30:22 +08:00
parent 27b51d1a6a
commit 11324ba1b2
3 changed files with 132 additions and 40 deletions

View File

@@ -4,7 +4,7 @@ constexpr int WORLD_SIZE_Z = 32;
constexpr int WORLD_SIZE_Y = 16;
constexpr int MAX_BLOCK_NUM = 2;
constexpr int CHUCK_SIZE = 16;
constexpr int DISTANCE = 2;
constexpr int DISTANCE = 8;
constexpr float VERTICES_POS[6][6][3] = {