Function geo_nd::quat::rotation_of_vec_to_vec
source · pub fn rotation_of_vec_to_vec<V: Float>(a: &[V; 3], b: &[V; 3]) -> [V; 4]
Expand description
Get a quaternion that is a rotation of one vector to another
The vectors must be unit vectors