Skip to main content

rotation_matrix_axis_angle

Function rotation_matrix_axis_angle 

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

Rodrigues’ formula: the matrix of a rotation by angle about axis (normalised internally; a zero axis gives the identity).