<div>Initialises the spline with *points*, which are the places through which the spline will go.</div>
<h2>Properties</h2>
...
...
@@ -24,11 +26,34 @@
<h2>Methods</h2>
<h3>.todo( [page:Vector3 todo] )</h3>
<h3>.initFromArray( [page:Array a] )</h3>
<div>
todo — todo<br/>
a — array of triplets containing x, y, z coordinates<br/>
</div>
<div>Initialises using the data in the array as a series of points. Each value in *a* must be another array with three values, where a[n] is v, the value for the *nth* point, and v[0], v[1] and v[2] are the x, y and z coordinates of that point n, respectively.
</div>
<h3>.getPoint( [page:Integer k] )</h3>
<div>
k — point index
</div>
<div>Return the interpolated point at *k*.</div>
<h3>.getControlPointsArray( )</h3>
<div>Returns an array with triplets of x, y, z coordinates that correspond to the current control points.