b2Shape_SetPolygon

Function b2Shape_SetPolygon 

Source
pub unsafe extern "C" fn b2Shape_SetPolygon(
    shapeId: b2ShapeId,
    polygon: *const b2Polygon,
)
Expand description

Allows you to change a shape to be a polygon or update the current polygon. This does not modify the mass properties. @see b2Body_ApplyMassFromShapes