Skip to content

Commit 43c7bc5

Browse files
authored
Merge pull request #21219 from mrdoob/Mugen87-patch-1
Update Three.Legacy.js
2 parents aa8d8fb + 771ec7c commit 43c7bc5

File tree

1 file changed

+0
-61
lines changed

1 file changed

+0
-61
lines changed

src/Three.Legacy.js

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import { Uniform } from './core/Uniform.js';
2929
import { Raycaster } from './core/Raycaster.js';
3030
import { Curve } from './extras/core/Curve.js';
3131
import { Path } from './extras/core/Path.js';
32-
import { CatmullRomCurve3 } from './extras/curves/CatmullRomCurve3.js';
3332
import { AxesHelper } from './helpers/AxesHelper.js';
3433
import { BoxHelper } from './helpers/BoxHelper.js';
3534
import { GridHelper } from './helpers/GridHelper.js';
@@ -264,66 +263,6 @@ Object.assign( Path.prototype, {
264263

265264
//
266265

267-
export function ClosedSplineCurve3( points ) {
268-
269-
console.warn( 'THREE.ClosedSplineCurve3 has been deprecated. Use THREE.CatmullRomCurve3 instead.' );
270-
271-
CatmullRomCurve3.call( this, points );
272-
this.type = 'catmullrom';
273-
this.closed = true;
274-
275-
}
276-
277-
ClosedSplineCurve3.prototype = Object.create( CatmullRomCurve3.prototype );
278-
279-
//
280-
281-
export function SplineCurve3( points ) {
282-
283-
console.warn( 'THREE.SplineCurve3 has been deprecated. Use THREE.CatmullRomCurve3 instead.' );
284-
285-
CatmullRomCurve3.call( this, points );
286-
this.type = 'catmullrom';
287-
288-
}
289-
290-
SplineCurve3.prototype = Object.create( CatmullRomCurve3.prototype );
291-
292-
//
293-
294-
export function Spline( points ) {
295-
296-
console.warn( 'THREE.Spline has been removed. Use THREE.CatmullRomCurve3 instead.' );
297-
298-
CatmullRomCurve3.call( this, points );
299-
this.type = 'catmullrom';
300-
301-
}
302-
303-
Spline.prototype = Object.create( CatmullRomCurve3.prototype );
304-
305-
Object.assign( Spline.prototype, {
306-
307-
initFromArray: function ( /* a */ ) {
308-
309-
console.error( 'THREE.Spline: .initFromArray() has been removed.' );
310-
311-
},
312-
getControlPointsArray: function ( /* optionalTarget */ ) {
313-
314-
console.error( 'THREE.Spline: .getControlPointsArray() has been removed.' );
315-
316-
},
317-
reparametrizeByArcLength: function ( /* samplingCoef */ ) {
318-
319-
console.error( 'THREE.Spline: .reparametrizeByArcLength() has been removed.' );
320-
321-
}
322-
323-
} );
324-
325-
//
326-
327266
export function AxisHelper( size ) {
328267

329268
console.warn( 'THREE.AxisHelper has been renamed to THREE.AxesHelper.' );

0 commit comments

Comments
 (0)