summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/shaders/shaders_spotlight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders/shaders_spotlight.c b/examples/shaders/shaders_spotlight.c
index 944f3d58..6d1d5bae 100644
--- a/examples/shaders/shaders_spotlight.c
+++ b/examples/shaders/shaders_spotlight.c
@@ -245,7 +245,7 @@ void ResetStar(Star *s)
} while (!(fabs(s->vel.x) + fabs(s->vel.y) > 1));
- s->pos = Vector2Add(s->pos, Vector2MultiplyV(s->vel, (Vector2){ 8, 8 }));
+ s->pos = Vector2Add(s->pos, Vector2Multiply(s->vel, (Vector2){ 8, 8 }));
}
void UpdateStar(Star *s)