|
@@ -1,7 +1,7 @@
|
|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
|
<head>
|
|
|
- <meta charset="utf-8" />
|
|
|
+ <meta charset="utf-8" />
|
|
|
<base href="../../../" />
|
|
|
<script src="list.js"></script>
|
|
|
<script src="page.js"></script>
|
|
@@ -48,7 +48,7 @@
|
|
|
<h2>Methods</h2>
|
|
|
|
|
|
|
|
|
- <h3>[method:Array getWrapPoints]([page:Array vertices], [page:Curve curve])</h3>
|
|
|
+ <h3>[method:Array getWrapPoints]( [page:Array vertices], [page:Curve curve] )</h3>
|
|
|
<div>
|
|
|
vertices -- An array of [page:Vector2]s to modify<br />
|
|
|
curve -- An array of 2d [page:Curve]s
|
|
@@ -59,7 +59,7 @@
|
|
|
modification.
|
|
|
</div>
|
|
|
|
|
|
- <h3>[method:null addWrapPath]([page:Curve curve])</h3>
|
|
|
+ <h3>[method:null addWrapPath]( [page:Curve curve] )</h3>
|
|
|
<div>
|
|
|
curve -- A [page:Curve] or object with a similar interface.
|
|
|
</div>
|
|
@@ -67,7 +67,7 @@
|
|
|
Pushes a curve onto the bends array.
|
|
|
</div>
|
|
|
|
|
|
- <h3>[method:Geometry createGeometry]([page:Vector3 points])</h3>
|
|
|
+ <h3>[method:Geometry createGeometry]( [page:Vector3 points] )</h3>
|
|
|
<div>
|
|
|
points -- An array of [page:Vector3]s
|
|
|
</div>
|
|
@@ -75,7 +75,7 @@
|
|
|
Creates a geometry from points
|
|
|
</div>
|
|
|
|
|
|
- <h3>[method:Geometry createPointsGeometry]([page:Integer divisions])</h3>
|
|
|
+ <h3>[method:Geometry createPointsGeometry]( [page:Integer divisions] )</h3>
|
|
|
<div>
|
|
|
divisions -- How many segments to create with [page:Vector3]s. Defaults to 12.
|
|
|
</div>
|
|
@@ -83,7 +83,7 @@
|
|
|
Creates a [page:Geometry] object comprised of [page:Vector3]s
|
|
|
</div>
|
|
|
|
|
|
- <h3>[method:Geometry createSpacedPointsGeometry]([page:Integer divisions])</h3>
|
|
|
+ <h3>[method:Geometry createSpacedPointsGeometry]( [page:Integer divisions] )</h3>
|
|
|
<div>
|
|
|
divisions -- How many segments to create with [page:Vector3]s. Defaults to 12.
|
|
|
</div>
|
|
@@ -92,7 +92,7 @@
|
|
|
</div>
|
|
|
|
|
|
|
|
|
- <h3>[method:null add]([page:Curve curve])</h3>
|
|
|
+ <h3>[method:null add]( [page:Curve curve] )</h3>
|
|
|
<div>
|
|
|
curve -- The [page:Curve curve] to add
|
|
|
</div>
|
|
@@ -115,7 +115,7 @@
|
|
|
Adds together the length of the curves
|
|
|
</div>
|
|
|
|
|
|
- <h3>[method:Array getTransformedPoints]([page:Integer segments], [page:Array bends])</h3>
|
|
|
+ <h3>[method:Array getTransformedPoints]( [page:Integer segments], [page:Array bends] )</h3>
|
|
|
<div>
|
|
|
segments -- The number of segments to create using the getPoints()<br />
|
|
|
bends -- (optional) An array of [page:Curve]s used to transform the points. Defaults to this.bends if blank.
|
|
@@ -125,7 +125,7 @@
|
|
|
array of [page:Vector2]s.
|
|
|
</div>
|
|
|
|
|
|
- <h3>[method:Array getTransformedSpacedPoints]([page:Integer segments], [page:Array bends])</h3>
|
|
|
+ <h3>[method:Array getTransformedSpacedPoints]( [page:Integer segments], [page:Array bends] )</h3>
|
|
|
<div>
|
|
|
segments -- The number of segments to create using the getPoints()<br />
|
|
|
bends -- (optional) Defaults to this.bends if blank. An array of [page:Curve]s used to transform the points.
|