OptionalactiveOptionalbvhmaximum triangles per leaf node in the bvh
Optionalbvhbvh split strategy
Optionaldegeneratedegenerate tolerance for triangles
flat array of triangle vertex indices [i1, i2, i3, i4, i5, i6, ...]
OptionalmaterialOptional per-triangle material indices. Length should match number of triangles (indices.length / 3). Default: -1 for all triangles (no material).
flat array of vertex positions [x1, y1, z1, x2, y2, z2, ...]
cosine threshold for active edge determination. edges with cos(dihedral_angle) >= this value are considered smooth/inactive. default: cos(5°) = 0.996195 set to -1.0 to disable active edge determination (all edges active) set to 1.0 to make all edges inactive