浏览代码

Three.Legacy: Correct typo

Mugen87 8 年之前
父节点
当前提交
1f9ccc920e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Three.Legacy.js

+ 1 - 1
src/Three.Legacy.js

@@ -221,7 +221,7 @@ ClosedSplineCurve3.prototype = Object.create( CatmullRomCurve3.prototype );
 
 export function SplineCurve3( points ) {
 
-	console.warn( 'THREE.ClosedSplineCurve3 has been deprecated. Use THREE.CatmullRomCurve3 instead.' );
+	console.warn( 'THREE.SplineCurve3 has been deprecated. Use THREE.CatmullRomCurve3 instead.' );
 
 	CatmullRomCurve3.call( this, points );
 	this.type = 'catmullrom';