Skip to main content

y_rot

Function y_rot 

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

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