summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-05-01 18:19:54 +0200
committerraysan5 <[email protected]>2020-05-01 18:19:54 +0200
commitb8055925bf056b81f92095672552a67dbee2c430 (patch)
tree9f7bfc65c26e6982c7d5cddd29ebc7dceca1376e
parent6a8e4795da6d1b485e51cdcc9688d92c9ed890fb (diff)
downloadraylib-b8055925bf056b81f92095672552a67dbee2c430.tar.gz
raylib-b8055925bf056b81f92095672552a67dbee2c430.zip
Update raymath.h
-rw-r--r--src/raymath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raymath.h b/src/raymath.h
index e021b932..0eb423a0 100644
--- a/src/raymath.h
+++ b/src/raymath.h
@@ -286,7 +286,7 @@ RMDEF Vector2 Vector2Rotate(Vector2 v, float degs)
// Move Vector towards target
RMDEF Vector2 Vector2MoveTowards(Vector2 v, Vector2 target, float maxDistance)
{
- Vector2 result = { 0 }
+ Vector2 result = { 0 };
float dx = target.x - v.x;
float dy = target.y - v.y;
float value = (dx*dx) + (dy*dy);