Reviewed some warnings

This commit is contained in:
Ray
2024-05-01 18:12:57 +02:00
parent 27a015d022
commit 763129e96b
4 changed files with 14 additions and 14 deletions

View File

@@ -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;