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