Cosine threshold for active edge determination. Edges with cos(dihedral_angle) >= this value are considered smooth/inactive.
Maximum triangles per leaf node in the BVH.
BVH split strategy.
Threshold for detecting degenerate triangles. A triangle is considered degenerate if |cross product| < this value.
OptionalmaterialOptional per-triangle material indices. Length should match number of triangles (indices.length / 3). Default: -1 for all triangles (no material).
settings for building a triangle mesh