-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Reorganize geometry internals #2731
Reorganize geometry internals #2731
Conversation
9b563a2
to
e2c9987
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is just a bunch of moving stuff around, but I found some nitpicky things to comment on anyway lol. IMO none of these are a pull blocker though, so I'm approving
e762bab
to
300ad20
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the PR 🎈
This is a preparation PR to enable us to have functions like Rect/Frect.collidecircle() and in general interoperability with shapes. Specifically it fixes a circular import we had going on.
What this PR really does at a high level is moving some functions that need to get used by rects/circles/lines/polygons into a separate header file so that it can be included everywhere without circular imports.
Deleted:
Added:
Simplified: