Skip to main content

rotate

Function rotate 

Source
pub fn rotate(v: Vector2, angle: f32) -> Vector2
Expand description

Rotates a vector by angle degrees counter-clockwise.