Skip to main content

bvh_depth

Function bvh_depth 

Source
pub fn bvh_depth(nodes: &[BvhGpuNode]) -> usize
Expand description

Compute the depth of the BVH tree.

Returns the maximum node depth from root (depth 0) to the deepest leaf.