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
| Param | Type | Description |
|---|---|---|
| bvh | BVH | |
| index_array | Array.<number> | Float32Array | |
| positions_array | Array.<number> | Float32Array | |
| [batch_size] | number | can batch triangles in groups of up-to this many triangles per BVH leaf |