b2DestroyShape

Function b2DestroyShape 

Source
pub unsafe extern "C" fn b2DestroyShape(
    shapeId: b2ShapeId,
    updateBodyMass: bool,
)
Expand description

Destroy a shape. You may defer the body mass update which can improve performance if several shapes on a body are destroyed at once. @see b2Body_ApplyMassFromShapes