Function blender_armature::interpolate_dual_quats[][src]

pub fn interpolate_dual_quats(
    start: DualQuaternion<f32>,
    end: DualQuaternion<f32>,
    amount: f32
) -> DualQuaternion<f32>

Interpolate from the start to the end bone using the given amount between [0.0, 1.0] inclusive.

When the interpolation parameter is 0.0 the start bone is used. At 1.0 the end bone is used.

Panics

Panics of the amount < 0.0 || amount > 1.0

TODO: Move this into nalgebra