From 4b419d0c84d67afebb1f46801582b42b0d95fa8e Mon Sep 17 00:00:00 2001 From: Antonis Geralis <43617260+planetis-m@users.noreply.github.com> Date: Thu, 15 Dec 2022 12:42:42 +0200 Subject: [PATCH] Fix ; --- src/raymath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raymath.h b/src/raymath.h index 9175bbc21..a72d19f4c 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -313,7 +313,7 @@ RMAPI float Vector2Angle(Vector2 v1, Vector2 v2) float dotProduct = v1.x*v2.x + v1.y*v2.y; float t = dotProduct < -1 ? -1 : dotProduct; - float result = acos(t > max ? max : t;); + float result = acos(t > max ? max : t); return result; }