6 #include "assimp_types.h"
19 const AiScene* sceneData;
29 #define BLOCKGRID_CELL_SIZE 2.5f
32 AiVector3D playerSpawnPos;
35 void buildLevelFromImage(TgaImage* image);
37 static inline Block* getBlockFromGrid(BlockGrid grid, int x, int z) {
38 return grid.blocks[(z * grid.width) + x];
41 static inline void setBlockInGrid(BlockGrid grid, int x, int z, Block* block) {
42 grid.blocks[(z * grid.width) + x] = block;