Skip to main content

shape_get_segment

Function shape_get_segment 

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

Get a copy of the shape’s line segment. Asserts the type is correct. (b2Shape_GetSegment)