Skip to main content

mat3_from_axis_angle

Function mat3_from_axis_angle 

Source
pub fn mat3_from_axis_angle(axis: &Vec3, angle: Real) -> Mat3
Expand description

Build a rotation matrix from an axis (unit vector) and angle (radians).

Uses the Rodrigues rotation formula.