pub fn rectangle_coords(
top_left: (u32, u32),
width: u32,
height: u32,
n_points: usize,
) -> (Vec<u32>, Vec<u32>)Expand description
Compute the coords of evenly spaced points around a rectangle.
ยงArguments
top_left: the coordinate of the top left corner.width: the width of the side of the rectangle.height: the height of the side of the rectangle.n_points: the number of points