Skip to main content

shape_set_polygon

Function shape_set_polygon 

Source
pub fn shape_set_polygon(
    world: &mut World,
    shape_id: ShapeId,
    polygon: &Polygon,
)
Expand description

Allows you to change a shape to be a polygon or update the current polygon. (b2Shape_SetPolygon)