Function quaternion::rotation_from_to
source · [−]pub fn rotation_from_to<T>(a: Vector3<T>, b: Vector3<T>) -> Quaternion<T>where
T: Float,
Expand description
Construct a quaternion representing the rotation from a to b
pub fn rotation_from_to<T>(a: Vector3<T>, b: Vector3<T>) -> Quaternion<T>where
T: Float,
Construct a quaternion representing the rotation from a to b