-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
polyPoly flawed #11
Comments
Sorry, I know this issue is super old now! I can't seem to make this happen – would you mind trying to replicate the issue and record a short video? |
I am not sure how to record a video. It seems easier to reproduce the bug on a smartphone. The polygon blinks blue as you drag the shape around. |
Didn't intend to close ticket, always hit the wrong button. (Although feel free to close if you can't repro) |
No worry! I'll take a look on my phone and see if it's a problem for me too. |
I haven't really looked into the details, but playing around with the online version, sometimes when the small polygon is fully inside the larger one, a collision is not detected.
Also, maybe related, you run the following code inside the for-loop, which doesn't make much sense, since it doesn't depend on any of the looped vars, only function parameters:
(maybe you wanted to iterate over the vertices of
p2
?)The text was updated successfully, but these errors were encountered: