Skip to main content

try_collide_segment_and_polygon

Function try_collide_segment_and_polygon 

Source
pub fn try_collide_segment_and_polygon(
    segment_a: Segment,
    transform_a: Transform,
    polygon_b: Polygon,
    transform_b: Transform,
) -> ApiResult<Manifold>
Expand description

Compute the contact manifold between a segment and a polygon with recoverable validation.