From b9f405c7b3e396b90b03924c6ac0a6052ae49923 Mon Sep 17 00:00:00 2001 From: Jeffery Myers Date: Mon, 18 Jul 2022 18:59:59 -0700 Subject: [PATCH] Fix raymath warning with floor to floorf --- src/raymath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raymath.h b/src/raymath.h index 503a157b2..f17800a7f 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; }