1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix animation blending

This commit is contained in:
Lars Mueller 2025-01-26 17:38:50 +01:00
parent a5180fbb28
commit c7c99296cb
6 changed files with 42 additions and 53 deletions

View file

@ -180,7 +180,7 @@ public:
linear interpolation.
*/
quaternion &slerp(quaternion q1, quaternion q2,
f32 time, f32 threshold = .05f);
f32 time, f32 threshold = .001f);
//! Set this quaternion to represent a rotation from angle and axis.
/** Axis must be unit length.