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