pub fn quad_bounds(quad: [[f32; 2]; 4]) -> Rect
Returns the axis-aligned bounds containing all four points.