diff options
| author | VitoTringolo <[email protected]> | 2024-06-30 09:50:12 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-30 09:50:12 +0200 |
| commit | 5b8efd68ba2d8e2c707d5811a5ce7185b2bead76 (patch) | |
| tree | 91ca7d795df1cc8a66f5dec1751ec8f63dfda94e | |
| parent | c1ea32655aad97402ea3b215ab7b414d0809bb8d (diff) | |
| download | raylib-5b8efd68ba2d8e2c707d5811a5ce7185b2bead76.tar.gz raylib-5b8efd68ba2d8e2c707d5811a5ce7185b2bead76.zip | |
[rmodels] Return true if no need to interpolate to avoid log flooding (#4118)
| -rw-r--r-- | src/rmodels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rmodels.c b/src/rmodels.c index cc6ac823..5f061e2d 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -5649,7 +5649,7 @@ static bool GetPoseAtTimeGLTF(cgltf_interpolation_type interpolationType, cgltf_ } // Constant animation, no need to interpolate - if (FloatEquals(tend, tstart)) return false; + if (FloatEquals(tend, tstart)) return true; float duration = fmaxf((tend - tstart), EPSILON); float t = (time - tstart)/duration; |
