You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The polygon rectangle collision page and the code that goes with it misses out on checking whether a rectangle completely engulfs a polygon.
You could do Rectangle Point for all the points of the polygon, but I think it's worth writing this as a possibility just as polygon point is written as a possibility.
The text was updated successfully, but these errors were encountered:
I've also just noticed that in the source code that polygonPoint checks the same point of a rectangle as many times as there are points of the polygon. Instead, from my understanding, it should run polygonPoint with each of the 4 points of the rectangle.
Thanks for noticing this! I have a pile of similar (awesome) suggestions I need to get through, so apologies if you don't see a fix immediately – it's coming I promise! :)
The polygon rectangle collision page and the code that goes with it misses out on checking whether a rectangle completely engulfs a polygon.
You could do Rectangle Point for all the points of the polygon, but I think it's worth writing this as a possibility just as polygon point is written as a possibility.
The text was updated successfully, but these errors were encountered: