Function quaternion::rotate_vector
source · [−]pub fn rotate_vector<T>(q: Quaternion<T>, v: Vector3<T>) -> Vector3<T>where
T: Float,
Expand description
Rotate the given vector using the given quaternion
pub fn rotate_vector<T>(q: Quaternion<T>, v: Vector3<T>) -> Vector3<T>where
T: Float,
Rotate the given vector using the given quaternion