summaryrefslogtreecommitdiffhomepage
path: root/src/rmodels.c
diff options
context:
space:
mode:
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;