Skip to main content

shape_set_segment

Function shape_set_segment 

Source
pub fn shape_set_segment(
    world: &mut World,
    shape_id: ShapeId,
    segment: &Segment,
)
Expand description

Allows you to change a shape to be a segment or update the current segment. (b2Shape_SetSegment)