Skip to main content

rotate

Function rotate 

Source
pub fn rotate(v: Vec2, angle: f64) -> Vec2
Expand description

Rotate v by angle radians (counter-clockwise).