Couple world pos fixes/improvements.

This commit is contained in:
2025-11-09 21:19:28 -06:00
parent aee06f51f0
commit 13365dd390
5 changed files with 35 additions and 15 deletions

View File

@@ -9,11 +9,6 @@
#include "rpg/world/tile.h"
#include "worldpos.h"
#define CHUNK_WIDTH 4
#define CHUNK_HEIGHT 4
#define CHUNK_DEPTH 32
#define CHUNK_TILE_COUNT (CHUNK_WIDTH * CHUNK_HEIGHT * CHUNK_DEPTH)
typedef struct chunk_s {
chunkpos_t position;
tile_t tiles[CHUNK_TILE_COUNT];