@@ -29,7 +29,6 @@ import { Uniform } from './core/Uniform.js';
2929import { Raycaster } from './core/Raycaster.js' ;
3030import { Curve } from './extras/core/Curve.js' ;
3131import { Path } from './extras/core/Path.js' ;
32- import { CatmullRomCurve3 } from './extras/curves/CatmullRomCurve3.js' ;
3332import { AxesHelper } from './helpers/AxesHelper.js' ;
3433import { BoxHelper } from './helpers/BoxHelper.js' ;
3534import { 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-
327266export function AxisHelper ( size ) {
328267
329268 console . warn ( 'THREE.AxisHelper has been renamed to THREE.AxesHelper.' ) ;
0 commit comments