The order of the points in the polygon array matters. If you are uncertain of the point order you can add this point randomizer which calls the inPolygon check multiple times until it gets a true result.https://gist.github.com/cgrote714/5b36611d474d74ac09acaa791362283d
The order of the points in the polygon array matters. If you are uncertain of the point order you can add this point randomizer which calls the inPolygon check multiple times until it gets a true result.
ReplyDeletehttps://gist.github.com/cgrote714/5b36611d474d74ac09acaa791362283d