- Source
Methods
triangulate(parameters) → {Object}
Triangulates an entity (Solid, Face, Wire, or Edge) into a three.js compatible mesh.
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters | Object | Triangulation parameters. Properties
|
Returns:
An object containing positions, normals, and indexes for the mesh.
- Type:
- Object