pub fn rotate_a_to_b_param<T>(a: Vector3<T>, b: Vector3<T>, t: T) -> Quaternion<T>where
    T: Float,
Expand description

Calculate the versor to rotate from vector a to vector b by the shortest path.

The parameter t adjusts the amount of movement from a to b, so that When t = 1, it moves to position b completely.

If you enter a zero vector, it returns an identity quaternion.