You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add precomputed directionInv to Ray3f for optimized ray-box
intersection
- Introduced the `directionInv` field in the `Ray3f` class to store the
reciprocal of the direction vector components.
- Precomputing the reciprocal reduces computation overhead in operations
like ray-box intersections, improving performance.
- Updated the constructor to calculate and assign `directionInv` during
ray initialization.
0 commit comments