[CORE] Fix Warnings (#2582)

* Fix raymath warning with floor to floorf

* signed unsigned missmatches
This commit is contained in:
Jeffery Myers 2022-07-18 21:36:03 -07:00 committed by GitHub
parent 0f7c4f762f
commit e9029d3d00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions

View file

@ -201,7 +201,7 @@ 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)*floor((value - min)/(max - min));
float result = value - (max - min)*floorf((value - min)/(max - min));
return result;
}