new CSGPolygon(vertices, shared)
Creates a new CSG polygon.
Parameters:
| Name | Type | Description |
|---|---|---|
vertices |
Array.<CSGVertex> | An array of sequential vertices that define the outer boundary. |
shared |
object | An optional data object to associate with the polygon. |