Explorar o código

Update QuaternionKeyframeTrack inheritance

Tristan VALCKE %!s(int64=7) %!d(string=hai) anos
pai
achega
319f2156a6
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  1. 3 4
      src/animation/tracks/QuaternionKeyframeTrack.js

+ 3 - 4
src/animation/tracks/QuaternionKeyframeTrack.js

@@ -1,7 +1,6 @@
 import { InterpolateLinear } from '../../constants.js';
-import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
+import { KeyframeTrack } from '../KeyframeTrack.js';
 import { QuaternionLinearInterpolant } from '../../math/interpolants/QuaternionLinearInterpolant.js';
-import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';
 
 /**
  *
@@ -14,11 +13,11 @@ import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';
 
 function QuaternionKeyframeTrack( name, times, values, interpolation ) {
 
-	KeyframeTrackConstructor.call( this, name, times, values, interpolation );
+	KeyframeTrack.call( this, name, times, values, interpolation );
 
 }
 
-QuaternionKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrackPrototype ), {
+QuaternionKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrack.prototype ), {
 
 	constructor: QuaternionKeyframeTrack,