Browse Source

Include deprecatation message for THREE.SplineCurve3

Joshua Koo 10 years ago
parent
commit
8137b8783b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/extras/curves/SplineCurve3.js

+ 1 - 0
src/extras/curves/SplineCurve3.js

@@ -7,6 +7,7 @@ THREE.SplineCurve3 = THREE.Curve.create(
 
 
 	function ( points /* array of Vector3 */) {
 	function ( points /* array of Vector3 */) {
 
 
+		THREE.warn( 'THREE.SplineCurve3 will be deprecated. Please use THREE.CatmullRomCurve3' );
 		this.points = ( points == undefined ) ? [] : points;
 		this.points = ( points == undefined ) ? [] : points;
 
 
 	},
 	},