diff options
| author | Jeffery Myers <[email protected]> | 2022-07-18 21:36:03 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-07-19 06:36:03 +0200 |
| commit | e9029d3d007e5dd05622c0569cf8be567d249e4b (patch) | |
| tree | e2c806e3da01a6bc026a6e57b893142e396fe30e /src/raymath.h | |
| parent | 0f7c4f762fb9f731f927a575662c542a9af617bc (diff) | |
| download | raylib-e9029d3d007e5dd05622c0569cf8be567d249e4b.tar.gz raylib-e9029d3d007e5dd05622c0569cf8be567d249e4b.zip | |
[CORE] Fix Warnings (#2582)
* Fix raymath warning with floor to floorf
* signed unsigned missmatches
Diffstat (limited to 'src/raymath.h')
| -rw-r--r-- | src/raymath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raymath.h b/src/raymath.h index 503a157b..f17800a7 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -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; } |
