Explorar o código

AnimationMixer: Move _controlInterpolantsResultBuffer back to prototype

Ian Purvis %!s(int64=4) %!d(string=hai) anos
pai
achega
feddda467a
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      src/animation/AnimationMixer.js

+ 1 - 3
src/animation/AnimationMixer.js

@@ -15,10 +15,7 @@ class AnimationMixer extends EventDispatcher {
 		this._root = root;
 		this._root = root;
 		this._initMemoryManager();
 		this._initMemoryManager();
 		this._accuIndex = 0;
 		this._accuIndex = 0;
-		this._controlInterpolantsResultBuffer = new Float32Array( 1 );
-
 		this.time = 0;
 		this.time = 0;
-
 		this.timeScale = 1.0;
 		this.timeScale = 1.0;
 
 
 	}
 	}
@@ -765,5 +762,6 @@ class AnimationMixer extends EventDispatcher {
 
 
 }
 }
 
 
+AnimationMixer.prototype._controlInterpolantsResultBuffer = new Float32Array( 1 );
 
 
 export { AnimationMixer };
 export { AnimationMixer };