Module builder

Module builder 

Source

Functionsยง

build_bvh2
Build a bvh2 from the given list of Boundable primitives. pre_split in BvhBuildParams is ignored in this case. Just a helper function / example, feel free to reimplement for your specific use case.
build_bvh2_from_tris
Build a bvh2 from the given list of Triangles. Just a helper function / example, feel free to reimplement for your specific use case.