minor tweaks
This commit is contained in:
parent
6ecb29f33f
commit
2a2c9e4da8
5 changed files with 10 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue