mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-20 10:18:14 +00:00
Reviewed some warnings
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user