clipToProjector
clipToProjector(
triangles,minCosine?):ClipTriangle[]
Defined in: decal/clip.ts:120
The receiver triangles, cut to the box.
Returns triangles in the same projector space, fanned from each clipped polygon. A triangle wholly outside contributes nothing; one wholly inside comes back unchanged, which is the common case for small geometry.
Parameters
Section titled “Parameters”triangles
Section titled “triangles”readonly ClipTriangle[]
minCosine?
Section titled “minCosine?”number = DEFAULT_FACING_COSINE