pub fn group( damage: Vec<Rectangle>, scale_factor: f32, bounds: Size<u32>, ) -> Vec<Rectangle>
Groups the given damage regions that are close together inside the given bounds.