Browse Source

Update QuaternionKeyframeTrack inheritance

Tristan VALCKE 7 years ago
parent
commit
319f2156a6
1 changed files with 3 additions and 4 deletions
  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 { InterpolateLinear } from '../../constants.js';
-import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
+import { KeyframeTrack } from '../KeyframeTrack.js';
 import { QuaternionLinearInterpolant } from '../../math/interpolants/QuaternionLinearInterpolant.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 ) {
 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,
 	constructor: QuaternionKeyframeTrack,