dimforge / parry

2D and 3D collision-detection library for Rust.
https://parry.rs
Apache License 2.0
594 stars 104 forks source link

fix point_in_poly2d for self-intersecting polygons #265

Open sebcrozet opened 2 months ago

sebcrozet commented 2 months ago

In some cases where the polygon loops on itself, the winding number was incorrect.