|
@@ -39,8 +39,8 @@
|
|
|
|
|
|
<h3>[method:Array triangulateShape]( contour, holes )</h3>
|
|
<h3>[method:Array triangulateShape]( contour, holes )</h3>
|
|
<p>
|
|
<p>
|
|
- contour -- 2D polygon.<br />
|
|
|
|
- holes -- array of holes<br /><br />
|
|
|
|
|
|
+ contour -- 2D polygon. An array of [page:Vector2].<br />
|
|
|
|
+ holes -- An array that holds arrays of [page:Vector2]s. Each array represents a single hole definition.<br /><br />
|
|
|
|
|
|
Used internally by [page:ExtrudeGeometry ExtrudeGeometry] and [page:ShapeGeometry ShapeGeometry] to calculate faces in shapes with holes.
|
|
Used internally by [page:ExtrudeGeometry ExtrudeGeometry] and [page:ShapeGeometry ShapeGeometry] to calculate faces in shapes with holes.
|
|
</p>
|
|
</p>
|