From b8055925bf056b81f92095672552a67dbee2c430 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Fri, 1 May 2020 18:19:54 +0200 Subject: [PATCH] Update raymath.h --- src/raymath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raymath.h b/src/raymath.h index e021b9322..0eb423a01 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);