From 2a2c9e4da864efb087e4a0aec67dc5ec78d35559 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 2 Aug 2022 17:25:24 +0200 Subject: minor tweaks --- src/raymath.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/raymath.h') diff --git a/src/raymath.h b/src/raymath.h index d942bdd9..fbe4cead 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -201,9 +201,9 @@ RMAPI float Remap(float value, float inputStart, float inputEnd, float outputSta // Wrap input value from min to max RMAPI float Wrap(float value, float min, float max) { - float result = value - (max - min)*floorf((value - min)/(max - min)); + float result = value - (max - min)*floorf((value - min)/(max - min)); - return result; + return result; } // Check whether two given floats are almost equal -- cgit v1.2.3