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
The title is pretty self-explanatory. I'm using your thing in my game, it's working well so far but I'm confused why it would throw an assert when trying to Enumerate on an empty tree. It would make more sense just to "yield break" and not enumerate on anything at all.
I'm also suggesting adding a leaf enumerator that returns the node's values directly. That way I can use the BVH tree as my collection to store my IBVH objects directly instead of letting the user manage two collections, one normal list/dictionary and a BVH.
The text was updated successfully, but these errors were encountered:
The title is pretty self-explanatory. I'm using your thing in my game, it's working well so far but I'm confused why it would throw an assert when trying to Enumerate on an empty tree. It would make more sense just to "yield break" and not enumerate on anything at all.
I'm also suggesting adding a leaf enumerator that returns the node's values directly. That way I can use the BVH tree as my collection to store my IBVH objects directly instead of letting the user manage two collections, one normal list/dictionary and a BVH.
The text was updated successfully, but these errors were encountered: