From 19647a1d3d476a24624292f03c1c0592b64ab64f Mon Sep 17 00:00:00 2001 From: Antonis Geralis <43617260+planetis-m@users.noreply.github.com> Date: Thu, 29 Feb 2024 15:48:25 +0200 Subject: [PATCH] small typo --- src/raymath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raymath.h b/src/raymath.h index d94e8ac5b..fe355a11d 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -382,7 +382,7 @@ RMAPI Vector2 Vector2Normalize(Vector2 v) Vector2 result = { 0 }; float lengthSq = (v.x*v.x) + (v.y*v.y); - if (lengthSq == 0.0'f) lengthSq = 1.0f; + if (lengthSq == 0.0f) lengthSq = 1.0f; float ilength = 1.0f/sqrtf(lengthSq); result.x = v.x*ilength; result.y = v.y*ilength;