This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix infinite recursive loop in BVH building (#81)
When all primitive centroids are equal during a recursive BVH building step, it results in a recursive loop. This fix detects this case and returns a leaf node instead. Co-authored-by: Tom Janssens <[email protected]>
- Loading branch information