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

Implement Axis3d.intersectionWithRectangle #146

Merged
merged 2 commits into from
May 25, 2023

Conversation

w0rm
Copy link
Contributor

@w0rm w0rm commented Jan 2, 2021

Implemented intersection of a ray with rectangle. I had to inline plane construction because of circular dependency.

Any idea on how this can be tested? I can add hardcoded test cases, but I wonder if we could come up with some fuzz tests.

@w0rm w0rm force-pushed the intersection-with-rectangle branch from 534ae0f to 63d87ab Compare May 15, 2021 20:10
@w0rm w0rm force-pushed the intersection-with-rectangle branch from 63d87ab to 470a31d Compare May 15, 2021 20:41
@w0rm
Copy link
Contributor Author

w0rm commented May 15, 2021

Rebased and added tests similar to Axis3d.intersectionWithTriangle

@ianmackenzie ianmackenzie merged commit 675f5fa into ianmackenzie:master May 25, 2023
@w0rm w0rm deleted the intersection-with-rectangle branch May 26, 2023 06:50
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.

2 participants