Browse Source

Update NumberKeyframeTrack inheritance

Tristan VALCKE 7 years ago
parent
commit
aaf9f49525
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/animation/tracks/NumberKeyframeTrack.js

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

@@ -1,5 +1,4 @@
-import { KeyframeTrackPrototype } from '../KeyframeTrackPrototype.js';
-import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';
+import { KeyframeTrack } from '../KeyframeTrack.js';
 
 
 /**
 /**
  *
  *
@@ -12,11 +11,11 @@ import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor.js';
 
 
 function NumberKeyframeTrack( name, times, values, interpolation ) {
 function NumberKeyframeTrack( name, times, values, interpolation ) {
 
 
-	KeyframeTrackConstructor.call( this, name, times, values, interpolation );
+	KeyframeTrack.call( this, name, times, values, interpolation );
 
 
 }
 }
 
 
-NumberKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrackPrototype ), {
+NumberKeyframeTrack.prototype = Object.assign( Object.create( KeyframeTrack.prototype ), {
 
 
 	constructor: NumberKeyframeTrack,
 	constructor: NumberKeyframeTrack,