Skip to main content

point_in_polygon

Function point_in_polygon 

Source
pub fn point_in_polygon(shape: &Polygon, point: Vec2) -> bool
Expand description

Test a point for overlap with a convex polygon in local space. (b2PointInPolygon)