Skip to main content

shape_get_polygon

Function shape_get_polygon 

Source
pub fn shape_get_polygon(world: &World, shape_id: ShapeId) -> Polygon
Expand description

Get a copy of the shape’s convex polygon. Asserts the type is correct. (b2Shape_GetPolygon)