提交 78886999 编写于 作者: J Joshua Koo

ClosedSplineCurve3: Update depreciation message

上级 a9677ba3
......@@ -12,7 +12,7 @@
<h1>[name]</h1>
<div class="desc">Create a smooth 3d spline curve from a series of points that loops back onto itself. This class may be depreciated, please use 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 depreciated. Please use THREE.CatmullRomCurve3</div>
<h2>Example</h2>
......
......@@ -5,7 +5,7 @@
THREE.ClosedSplineCurve3 = function ( points ) {
console.warn( 'THREE.ClosedSplineCurve3 may be depreciated. Please consider THREE.CatmullRomCurve3' );
console.warn( 'THREE.ClosedSplineCurve3 has been depreciated. Please use THREE.CatmullRomCurve3.' );
THREE.CatmullRomCurve3.call( this, points );
this.type = 'catmullrom';
this.closed = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册