point_in_polygon() 2.0
By Demon666 – Custom level – uploaded 11 Jun 2015 from Windows
PlayEdit 6 players liked this.
Issues trying to play levels?
Troubleshoot issues playing levels
version 2.0
- completely different method
- simpler/shorter/more accurate
100% accurate(untill proven otherwise)
detects if a point is within a polygon by using the even/odd intersections rule
even works with concave polygons
doesnt work with polygons that overlap themselves
hover the cursor inside or outside the object to test it.
feel free to change around the points and let me know if any bugs
Downloads: 252 - Level ID: 16300 - Play in browser (BETA)
Comments
No comments have been posted. Be the first to comment!