-
Notifications
You must be signed in to change notification settings - Fork 41
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
Update triangle example to API v2 #936
Update triangle example to API v2 #936
Conversation
b7fec02
to
6a7253e
Compare
6a7253e
to
b79de0f
Compare
The example is still probably too complex. Would probably want to do a smaller one with just a few triangles and few points and no callback. It really depends on what we want. |
b79de0f
to
5bb9bcd
Compare
Did just this. 8 triangles, 9 points. Not very different from the simple intersection example, just slightly more complicated. I think it's fine. If desired, we could convert the previous example into a benchmark. |
5bb9bcd
to
5519ff5
Compare
// _____________ | ||
// |\ x |\ x| | ||
// | \ | \ | | ||
// |____\|____\| | ||
// |\ |\ | | ||
// | \ x|x \ | | ||
// _____\|____\| |
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.
You didn't want to number them?
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 tried it, but found that it was hard to distinguish from triangle numbering. It seemed like it you need both x
and number for clarity. So, I decided to drop the numbers.
Note that this PR should also fix the intermittent failures of the triangle intersection test on SYCL. |
Creating so that I won't forget. Depends on #915 and #944.