quaternion_slerpReturns a spherical linear interpolation between two quaternions.
from_quaternionThe source quaternion, corresponding to the zero fraction.
to_quaternionThe destination quaternion, corresponding to the full fraction.
fractionInterpolation parameter.
clamp_negativeClamp negative fraction values to zero.
clamp_above_oneClamp to 1 if the fraction value is above 1.
always_use_shorter_arcAlways use the shorter arc between the two rotations.
use_nlerp_if_closerPerforms a normalized linear interpolation if closer if the quaternions differ by less than this tolerance. This saves computation and is more stable when the difference is very small.
interpolatedThe interpolated quaternion.