Skip to main content

rotate2

Function rotate2 

Source
pub fn rotate2(v: Vec2, theta: f32) -> Vec2
Expand description

Rotate a Vec2 by angle theta.