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

@@ -94,13 +94,6 @@ void entityUpdateAnimationState(ecs_iter_t *it);
void entityUpdateAnimation(ecs_iter_t *it);
/*
* 0:
*/
void renderTerrain(ecs_iter_t *it);
void renderBuildings(ecs_iter_t *it);
void renderEntities(ecs_iter_t *it);
/*
* 1: Position
* 2: Size