bvh2_to_cwbvh

Function bvh2_to_cwbvh 

Source
pub fn bvh2_to_cwbvh(
    bvh2: &Bvh2,
    max_prims_per_leaf: u32,
    order_children: bool,
    include_exact_node_aabbs: bool,
) -> CwBvh
Expand description

Convert the given bvh2 to cwbvh

ยงArguments

  • bvh2 - Source BVH
  • max_prims_per_leaf - 0..=3 The maximum number of primitives per leaf.