summaryrefslogtreecommitdiffhomepage
path: root/src/rmodels.c
diff options
context:
space:
mode:
authorRay <[email protected]>2024-05-01 18:12:57 +0200
committerRay <[email protected]>2024-05-01 18:12:57 +0200
commit763129e96b0ae8a795f62d40d1b75736e4e6ae46 (patch)
treecdc837d00c8f660b720b1bf64a49f6c4e4f363c1 /src/rmodels.c
parent27a015d022ecdf771ea64b23f495a3b66101e170 (diff)
downloadraylib-763129e96b0ae8a795f62d40d1b75736e4e6ae46.tar.gz
raylib-763129e96b0ae8a795f62d40d1b75736e4e6ae46.zip
Reviewed some warnings
Diffstat (limited to 'src/rmodels.c')
-rw-r--r--src/rmodels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rmodels.c b/src/rmodels.c
index 5efc3228..27c19a3c 100644
--- a/src/rmodels.c
+++ b/src/rmodels.c
@@ -5549,7 +5549,7 @@ static bool GetPoseAtTimeGLTF(cgltf_interpolation_type interpolationType, cgltf_
}
}
- float duration = fmax((tend - tstart), EPSILON);
+ float duration = fmaxf((tend - tstart), EPSILON);
float t = (time - tstart)/duration;
t = (t < 0.0f)? 0.0f : t;
t = (t > 1.0f)? 1.0f : t;