Skip to main content

rotation_from_angle

Function rotation_from_angle 

Source
pub fn rotation_from_angle(angle: AngVector) -> Rotation
Expand description

Creates a rotation from an angular vector.

In 2D, the angular vector is a scalar angle in radians. In 3D, the angular vector is a scaled axis-angle (axis * angle).