feat: add gravity

This commit is contained in:
2026-03-14 11:48:26 +08:00
parent e51a398abe
commit ec2d3c3c0c
3 changed files with 16 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ constexpr int MAX_BLOCK_NUM = 2;
constexpr int CHUCK_SIZE = 16;
constexpr int DISTANCE = 8;
constexpr int MAX_BLOCK_STATUS = 1;
constexpr float FOV = 70.0f;
constexpr float VERTICES_POS[6][6][3] = {
// ===== front (z = +1) =====
-0.5f, -0.5f, 0.5f, // bottom left