summaryrefslogtreecommitdiffhomepage
path: root/examples/shaders/shaders_spotlight.c
diff options
context:
space:
mode:
authorG3bE <[email protected]>2020-04-14 00:32:45 +1000
committerGitHub <[email protected]>2020-04-13 16:32:45 +0200
commit32387317bffcd006a0cafa91b8e01e1b0fb65be5 (patch)
treed86b052ff4afcb3a02785796d243bd54655fa7d0 /examples/shaders/shaders_spotlight.c
parentf0fe03087ad26337ca21e7248c3343bd5ecf219e (diff)
downloadraylib-32387317bffcd006a0cafa91b8e01e1b0fb65be5.tar.gz
raylib-32387317bffcd006a0cafa91b8e01e1b0fb65be5.zip
Make raymath more consistent (#1197)
* Make raymath naming and functions more consistent * Minor fixes * Fix examples * Fix Physac * New naming rules * Apply naming to Quaternion functions * Apply to models.c * Remove *MulitplyValue / *DivideValue
Diffstat (limited to 'examples/shaders/shaders_spotlight.c')
-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)