Function scale_points

Source
pub fn scale_points(center: Coord, points: &[Coord], factor: f32) -> Vec<Coord>
Expand description

Scale points (move them towards or away) around the center by factor

The resulting points distance will be points[x].distance(center) * factor but at the same angle