Browse Source

ClosedSplineCurve3: Update depreciation message

Joshua Koo 9 years ago
parent
commit
7888699966

+ 1 - 1
docs/api/extras/curves/ClosedSplineCurve3.html

@@ -12,7 +12,7 @@
 
 
 		<h1>[name]</h1>
 		<h1>[name]</h1>
 
 
-		<div class="desc">Create a smooth 3d spline curve from a series of points that loops back onto itself. This class may be depreciated, please use CatmullRomCurve3</div>
+		<div class="desc">Create a smooth 3d spline curve from a series of points that loops back onto itself. THREE.ClosedSplineCurve3 has been depreciated. Please use THREE.CatmullRomCurve3</div>
 
 
 		<h2>Example</h2>
 		<h2>Example</h2>
 
 

+ 1 - 1
src/extras/curves/ClosedSplineCurve3.js

@@ -5,7 +5,7 @@
 
 
 THREE.ClosedSplineCurve3 = function ( points ) {
 THREE.ClosedSplineCurve3 = function ( points ) {
 
 
-	console.warn( 'THREE.ClosedSplineCurve3 may be depreciated. Please consider THREE.CatmullRomCurve3' );
+	console.warn( 'THREE.ClosedSplineCurve3 has been depreciated. Please use THREE.CatmullRomCurve3.' );
 	THREE.CatmullRomCurve3.call( this, points );
 	THREE.CatmullRomCurve3.call( this, points );
 	this.type = 'catmullrom';
 	this.type = 'catmullrom';
 	this.closed = true;
 	this.closed = true;