|
@@ -41,11 +41,12 @@ var curveObject = new THREE.Line( geometry, material );
|
|
|
|
|
|
<h2>Constructor</h2>
|
|
|
|
|
|
- <h3>[name]( [page:Array points], [page:Boolean closed], [page:Float tension] )</h3>
|
|
|
+ <h3>[name]( [page:Array points], [page:Boolean closed], [page:String curveType], [page:Float tension] )</h3>
|
|
|
<div>
|
|
|
points – An array of [page:Vector3] points<br/>
|
|
|
- closed – Whether the curve is closed. Default is *false*.
|
|
|
- tension – Tension of the curve. Default is *false*.
|
|
|
+ closed – Whether the curve is closed. Default is *false*.<br/>
|
|
|
+ curveType – Type of the curve. Default is *centripetal*.<br/>
|
|
|
+ tension – Tension of the curve. Default is *0.5*.
|
|
|
</div>
|
|
|
|
|
|
|
|
@@ -66,10 +67,10 @@ var curveObject = new THREE.Line( geometry, material );
|
|
|
<div>The curve will loop back onto itself when this is true.</div>
|
|
|
|
|
|
<h3>[property:String curveType]</h3>
|
|
|
- <div>Possible values are `centripetal` (default), `chordal` and `catmullrom`.</div>
|
|
|
+ <div>Possible values are *centripetal*, *chordal* and *catmullrom*.</div>
|
|
|
|
|
|
<h3>[property:float tension]</h3>
|
|
|
- <div>When [page:.type] is `catmullrom`, defines catmullrom's tension. Defaults is *0.5*.</div>
|
|
|
+ <div>When [page:.type] is *catmullrom*, defines catmullrom's tension.</div>
|
|
|
|
|
|
|
|
|
<h2>Methods</h2>
|