浏览代码

ClosedSplineCurve3: Deprecated not depreciated -.-''

Joshua Koo 9 年之前
父节点
当前提交
ef1eea27f8
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      docs/api/extras/curves/ClosedSplineCurve3.html
  2. 1 1
      src/extras/curves/ClosedSplineCurve3.js

+ 1 - 1
docs/api/extras/curves/ClosedSplineCurve3.html

@@ -12,7 +12,7 @@
 
 
 		<h1>[name]</h1>
 		<h1>[name]</h1>
 
 
-		<div class="desc">Create a smooth 3d spline curve from a series of points that loops back onto itself. THREE.ClosedSplineCurve3 has been depreciated. Please use THREE.CatmullRomCurve3</div>
+		<div class="desc">Create a smooth 3d spline curve from a series of points that loops back onto itself. THREE.ClosedSplineCurve3 has been deprecated. Please use THREE.CatmullRomCurve3</div>
 
 
 		<h2>Example</h2>
 		<h2>Example</h2>
 
 

+ 1 - 1
src/extras/curves/ClosedSplineCurve3.js

@@ -5,7 +5,7 @@
 
 
 THREE.ClosedSplineCurve3 = function ( points ) {
 THREE.ClosedSplineCurve3 = function ( points ) {
 
 
-	console.warn( 'THREE.ClosedSplineCurve3 has been depreciated. Please use THREE.CatmullRomCurve3.' );
+	console.warn( 'THREE.ClosedSplineCurve3 has been deprecated. Please use THREE.CatmullRomCurve3.' );
 	THREE.CatmullRomCurve3.call( this, points );
 	THREE.CatmullRomCurve3.call( this, points );
 	this.type = 'catmullrom';
 	this.type = 'catmullrom';
 	this.closed = true;
 	this.closed = true;