b2RayCastSegment

Function b2RayCastSegment 

Source
pub unsafe extern "C" fn b2RayCastSegment(
    shape: *const b2Segment,
    input: *const b2RayCastInput,
    oneSided: bool,
) -> b2CastOutput
Expand description

Ray cast versus segment shape in local space. Optionally treat the segment as one-sided with hits from the left side being treated as a miss.