pub fn rect_points(rect: &Rect) -> [Vec2; 4]
Get the four points that make up the corners of the given rect.
rect