pub fn rotate2d_gen<T, F: Fn(&mut T) -> &mut Vector2>(
angle: f64,
points: &mut [T],
f: F,
)
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. General about the underlying point container type