Module builder

Module builder 

Source

Functionsยง

build_cwbvh
Build a cwbvh 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_cwbvh_from_tris
Build a cwbvh from the given list of Triangles. Just a helper function / example, feel free to reimplement for your specific use case.