pub fn bvh_depth(nodes: &[BvhGpuNode]) -> usizeExpand description
Compute the depth of the BVH tree.
Returns the maximum node depth from root (depth 0) to the deepest leaf.
pub fn bvh_depth(nodes: &[BvhGpuNode]) -> usizeCompute the depth of the BVH tree.
Returns the maximum node depth from root (depth 0) to the deepest leaf.