Explorar o código

Include deprecatation message for THREE.SplineCurve3

Joshua Koo %!s(int64=11) %!d(string=hai) anos
pai
achega
8137b8783b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
 
 
 	},
 	},

粤ICP备19079148号