Function segment_rect_intersection

Source
pub fn segment_rect_intersection(
    seg: (Point, Point),
    rect: (Point, Point),
) -> bool
Expand description

\return True if the segment intersects the rect.