From 32387317bffcd006a0cafa91b8e01e1b0fb65be5 Mon Sep 17 00:00:00 2001 From: G3bE <32980656+G3bE@users.noreply.github.com> Date: Tue, 14 Apr 2020 00:32:45 +1000 Subject: 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 --- examples/shaders/shaders_spotlight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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) -- cgit v1.2.3