Expose ray.inv_direction
nonl4331 opened this issue · 3 comments
nonl4331 commented
ray.inv_direction is often used for intersection calculations after a bvh has trimmed the number of primitives to check. By exposing inv_direction it allows users to reuse the cached inv_direction within Ray for other purposes.
svenstaro commented
Seems fine. Happy for a PR!
nonl4331 commented
It seems it's already public! It's just the git is ahead of version 0.7.2 on crates.io.
nonl4331 commented
Closing issue.