new Polygon(verts)
Constuctor defining the minimal requirements for a Path.
Parameters:
Name | Type | Description |
---|---|---|
verts |
Array.<PhSim.Vector> | Vertcies |
- Source:
Members
-
shape :Boolean
-
Boolean indicating it is a path
Type:
- Boolean
- Source:
-
verts :Array.<PhSim.Vector>
-
Array of vectors defining a path or a polygon
Type:
- Array.<PhSim.Vector>
- Source: