summaryrefslogtreecommitdiffhomepage
path: root/src/raymath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/raymath.h')
-rw-r--r--src/raymath.h4
1 files changed, 2 insertions, 2 deletions
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