-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify logic based on how SLAB works
SLAB will find the near and the far intersection past the end points of the ray. We were clamping it prior. Allow the ray to extend, but ensure the intersection that is returned is the first in the direction start -> end. This allows us to simplify the code a bit more as it can automatically search the intersection towards and away from the achromatic point based on the origin without us doing extra work.
- Loading branch information
1 parent
821e343
commit 4f84eb6
Showing
1 changed file
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters