Add tree test map, fix easing system

This commit is contained in:
2024-01-07 09:32:36 +01:00
parent 6884619f05
commit 07e03702ad
6 changed files with 730 additions and 5 deletions

View File

@@ -75,7 +75,7 @@ void updateEasingSystem(ecs_iter_t *it) {
x = e->easeStart + e->easeTarget * x + e->easeOffset;
// Outer
x = e->start + e->target * x + e->offset;
easing->x = x;
easing[i].x = x;
u8 *compData = ecs_get_mut_id(ECS, entity, easing[i].compID);
compData += easing[i].memberOffset;