diff options
| author | G3bE <[email protected]> | 2020-04-14 00:32:45 +1000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-13 16:32:45 +0200 |
| commit | 32387317bffcd006a0cafa91b8e01e1b0fb65be5 (patch) | |
| tree | d86b052ff4afcb3a02785796d243bd54655fa7d0 /examples/shaders/shaders_spotlight.c | |
| parent | f0fe03087ad26337ca21e7248c3343bd5ecf219e (diff) | |
| download | raylib-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.c | 2 |
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) |
