pub fn convex_polygon_area_and_center_of_mass(vertices: &[Vec2]) -> (f32, Vec2)
Computes the area and center of mass of a convex polygon defined by its vertices.
No checks are performed to ensure the polygon is convex.