Skip to main content

quat_from_axis_angle

Function quat_from_axis_angle 

Source
pub fn quat_from_axis_angle(axis: [f64; 3], angle: f64) -> [f64; 4]
Expand description

Create a quaternion from an axis-angle representation.

axis need not be normalised; angle is in radians.