diff --git a/docs/api/extras/curves/CatmullRomCurve3.html b/docs/api/extras/curves/CatmullRomCurve3.html
index 930e09be0b5e542d09a99be8315782a03179648d..d09d7da9e3ea89a9b763b332207331f2dcbf8de9 100644
--- a/docs/api/extras/curves/CatmullRomCurve3.html
+++ b/docs/api/extras/curves/CatmullRomCurve3.html
@@ -12,7 +12,8 @@
[name]
- Create a smooth 3d spline curve from a series of points using the Catmull-Rom algorithm
+ Create a smooth 3d spline curve from a series of points using the
+ [link:https://en.wikipedia.org/wiki/Centripetal_Catmull-Rom_spline Catmull-Rom] algorithm.
Example
@@ -30,6 +31,9 @@ var geometry = new THREE.Geometry();
geometry.vertices = curve.getPoints( 50 );
var material = new THREE.LineBasicMaterial( { color : 0xff0000 } );
+
+// Create the final object to add to the scene
+var curveObject = new THREE.Line( geometry, material );
[example:webgl_geometry_extrude_splines geometry / extrude / splines]
@@ -37,23 +41,30 @@ var material = new THREE.LineBasicMaterial( { color : 0xff0000 } );
Constructor
-
[name]( [page:Array points] )
points – An array of [page:Vector3] points
+
+
+
Properties
+ See the base [page:Curve] class for common properties.
[property:Array points]
-
- [property:Boolean closed] – curve loops back onto itself when true. False by default.
-
- [property:String type] - possible values are `centripetal` (default), `chordal` and `catmullrom`
-
- [property:float tension] - when type is `catmullrom`, defines catmullrom's tension. Defaults to 0.5
+ The array of array of [page:Vector3] points that define the curve.
- Methods
+ [property:Boolean closed]
+ The curve will loop back onto itself when this is true. False by default
+
+ [property:String type]
+ Possible values are `centripetal` (default), `chordal` and `catmullrom`.
+
+ [property:float tension]
+ When [page:.type] is `catmullrom`, defines catmullrom's tension. Defaults is *0.5*.
- See [page:Curve] for inherited methods
+
+ Methods
+ See the base [page:Curve] class for common methods.
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
- [page:Curve] →
-
- [name]
-
- Create a smooth 3d spline curve from a series of points that loops back onto itself. THREE.ClosedSplineCurve3 has been deprecated. Please use THREE.CatmullRomCurve3
-
- Example
-
-
-//Create a closed wavey loop
-var curve = new THREE.ClosedSplineCurve3( [
- new THREE.Vector3( -10, 0, 10 ),
- new THREE.Vector3( -5, 5, 5 ),
- new THREE.Vector3( 0, 0, 0 ),
- new THREE.Vector3( 5, -5, 5 ),
- new THREE.Vector3( 10, 0, 10 )
-] );
-
-var geometry = new THREE.Geometry();
-geometry.vertices = curve.getPoints( 50 );
-
-var material = new THREE.LineBasicMaterial( { color : 0xff0000 } );
-
-
- [example:webgl_geometry_extrude_splines geometry / extrude / splines] (choose SampleClosedSpline)
-
-
- Constructor
-
-
- [name]( [page:Array points] )
- points – An array of [page:Vector3] points
-
-
- Properties
-
- [property:Array points]
-
- Methods
-
- See [page:Curve] for inherited methods
-
- [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
-
diff --git a/docs/api/extras/curves/ClosedSplineCurve3.html b/docs/api/extras/curves/ClosedSplineCurve3.html
deleted file mode 100644
index d3944ea232aa4e499f4dd852536f215e4f103103..0000000000000000000000000000000000000000
--- a/docs/api/extras/curves/ClosedSplineCurve3.html
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-