Open rettigcd opened 1 year ago
https://github.com/ClaasM/Algorithms/blob/78a7bcf0212e38995043c5d4b084c2f8ea331c49/src/point_in_polygon/c/PointInPolygon.c#L22
The comment on this line should say something to the effect: // One point needs to be above, && one BELOW-OR-ON our y coordinate
Based on the original comment, I was sure it wasn't going to handle corners and correctly.
Thank you for providing the algorithm. You just saved me hours of work!
https://github.com/ClaasM/Algorithms/blob/78a7bcf0212e38995043c5d4b084c2f8ea331c49/src/point_in_polygon/c/PointInPolygon.c#L22
The comment on this line should say something to the effect: // One point needs to be above, && one BELOW-OR-ON our y coordinate
Based on the original comment, I was sure it wasn't going to handle corners and correctly.
Thank you for providing the algorithm. You just saved me hours of work!