From de06d6faeb45ef7c68551daf3c6ab964af1279da Mon Sep 17 00:00:00 2001 From: Ruby Bang <81295292+ruby-bang@users.noreply.github.com> Date: Fri, 2 Aug 2024 06:47:45 +0700 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 62d52f8fd..3967cbf08 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -469,7 +469,7 @@ RMAPI Vector2 Vector2Rotate(Vector2 v, float angle) } // Move Vector towards target -RMAPI Vector2 Vector2MoveTowards(Vector2 v, Vector2 target, float maxDistance) +RMAPI Vector2 Vector2MoveTowards(Vector2 v, Vector2 target, float speed) { Vector2 result = { 0 };