mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-13 14:58:15 +00:00
[CORE] Fix Warnings (#2582)
* Fix raymath warning with floor to floorf * signed unsigned missmatches
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user