Skip to main content

ebvh_build_for_geometry_incremental

ebvh_build_for_geometry_incremental(bvh, index_array, positions_array, [batch_size])

Build the BVH by relying on BVH's own incremental insertion mechanism

Kind: global function

ParamTypeDescription
bvhBVH
index_arrayArray.<number> | Float32Array
positions_arrayArray.<number> | Float32Array
[batch_size]numbercan batch triangles in groups of up-to this many triangles per BVH leaf