Skip to content

Make intersect return type option#54

Open
santerioksanen wants to merge 1 commit intoasny:mainfrom
santerioksanen:feature/intersect-return-option
Open

Make intersect return type option#54
santerioksanen wants to merge 1 commit intoasny:mainfrom
santerioksanen:feature/intersect-return-option

Conversation

@santerioksanen
Copy link

Hello,

I would suggest modifying the response type of aabb.intersection to return None if there is no intersection, due to cleaner matching against intersection vs no intersection.

The change itself is really small, but unfortunately of course breaks the API. Please let me know, if you would be willing to accept this as is, or with additional changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant