2
0
Эх сурвалжийг харах

Include deprecatation message for THREE.SplineCurve3

Joshua Koo 10 жил өмнө
parent
commit
8137b8783b

+ 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;
 
 	},