Преглед на файлове

Include deprecatation message for THREE.SplineCurve3

Joshua Koo преди 10 години
родител
ревизия
8137b8783b
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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 */) {
 
+		THREE.warn( 'THREE.SplineCurve3 will be deprecated. Please use THREE.CatmullRomCurve3' );
 		this.points = ( points == undefined ) ? [] : points;
 
 	},