Skip to main content

rotate_around_axis

Function rotate_around_axis 

Source
pub fn rotate_around_axis(v: Vec3, axis: Vec3, angle: f32) -> Vec3
Expand description

Rotate a Vec3 by angle around an axis