Skip to content
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

Bug: Circle overlapping rectangle incorrect #705

Closed
davesmith00000 opened this issue Mar 7, 2024 · 0 comments
Closed

Bug: Circle overlapping rectangle incorrect #705

davesmith00000 opened this issue Mar 7, 2024 · 0 comments
Labels
bug Something isn't working PR Open

Comments

@davesmith00000
Copy link
Member

These should give the same answer. There's probably a good reason they don't, but it's unexpected.

Rectangle(0,0,160, 160).overlaps(Circle(Point(100, 100), 5)) // true
Circle(Point(100, 100), 5).overlaps(Rectangle(0,0,160, 160)) // false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working PR Open
Projects
None yet
Development

No branches or pull requests

1 participant