summaryrefslogtreecommitdiffhomepage
path: root/src/raymath.h
diff options
context:
space:
mode:
authorRay <[email protected]>2022-08-02 17:25:24 +0200
committerRay <[email protected]>2022-08-02 17:25:24 +0200
commit2a2c9e4da864efb087e4a0aec67dc5ec78d35559 (patch)
tree31e10618337d64c77eb7911bcd336efe8a1d41c2 /src/raymath.h
parent6ecb29f33f39d709d73f3de633b095afdbf745cc (diff)
downloadraylib-2a2c9e4da864efb087e4a0aec67dc5ec78d35559.tar.gz
raylib-2a2c9e4da864efb087e4a0aec67dc5ec78d35559.zip
minor tweaks
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