Skip to main content

x_rot

Function x_rot 

Source
pub fn x_rot(vector: DVec3, radians: f32) -> DVec3
Expand description

Rotates the vector around the X axis and positive angles rotate +Y toward -Z