minor tweaks

This commit is contained in:
Ray
2022-08-02 17:25:24 +02:00
parent 6ecb29f33f
commit 2a2c9e4da8
5 changed files with 10 additions and 10 deletions

View File

@@ -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