Function quaternion::axis_angle
source · [−]pub fn axis_angle<T>(axis: Vector3<T>, angle: T) -> Quaternion<T>where
T: Float,
Expand description
Construct a quaternion for the given angle (in radians) about the given axis. Axis must be a unit vector.