diff --git a/src/game.c b/src/game.c index 6cb88f2c..fe9e3190 100644 --- a/src/game.c +++ b/src/game.c @@ -320,12 +320,14 @@ INTERNAL void game_update(void) /* ENTITY_PROP_TEST */ if (entity_has_prop(ent, ENTITY_PROP_TEST)) { f32 t = ((f32)L.world.time); + struct v2 og = V2(math_cos(t), math_sin(t)); f32 r = t * 2.f; f32 s = 1 + (math_fabs(math_sin(t * 5)) * 3); + (UNUSED)og; (UNUSED)r; (UNUSED)s; - + ent->rel_xform.og = og; ent->rel_xform = xform_with_rotation(ent->rel_xform, r); ent->rel_xform = xform_with_scale(ent->rel_xform, V2(s, 1)); }