Add draw sorting based on Y position

This commit is contained in:
2023-12-29 09:42:15 +01:00
parent 6e2c68cb70
commit e7a0f91c36
7 changed files with 47 additions and 55 deletions

View File

@@ -39,6 +39,8 @@ typedef struct Game {
bool spatialGrid;
} debugDraw;
f32 elapsed;
ecs_query_t *drawQuery;
} Game;
extern ecs_world_t *ECS;