Function rotate2d

Source
pub fn rotate2d(angle: f64, points: &mut [Vector2])
Expand description

Rotate a collection of points in 2d space around their center point keeping the relative orientations of the points constant. The angle is in radians.