Methods
(static) run(optionsopt) → {Array}
Runs the tesselator
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
options |
TesselatorOptions |
<optional> |
TesselatorOptions | Options |
Returns:
- Type
- Array
Type Definitions
TesselatorOptions
Tesselator options.
Type:
- Object
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
polygons |
Array |
<optional> |
[] | Array of polygons |
holes |
Array |
<optional> |
[] | Array of holes |
vertexSize |
Number |
<optional> |
2 | Vertex size to use |
windingRule |
Number |
<optional> |
GLU_TESS_WINDING_POSITIVE | Winding rule |
boundaryOnly |
Boolean |
<optional> |
false | Whether to output boundaries only |
normal |
Array |
<optional> |
null | Normal |
autoWinding |
Boolean |
<optional> |
true | Whether to automatically set the correct winding on polygons |
- Source: