Bläddra i källkod

Updated builds.

Mr.doob 3 år sedan
förälder
incheckning
8968a5ef5e
4 ändrade filer med 10 tillägg och 9 borttagningar
  1. 3 3
      build/three.cjs
  2. 3 3
      build/three.js
  3. 0 0
      build/three.min.js
  4. 4 3
      build/three.module.js

+ 3 - 3
build/three.cjs

@@ -32752,6 +32752,8 @@ class AnimationAction {
 
 }
 
+const _controlInterpolantsResultBuffer = /*@__PURE__*/new Float32Array(1);
+
 class AnimationMixer extends EventDispatcher {
 	constructor(root) {
 		super();
@@ -33082,7 +33084,7 @@ class AnimationMixer extends EventDispatcher {
 		let interpolant = interpolants[lastActiveIndex];
 
 		if (interpolant === undefined) {
-			interpolant = new LinearInterpolant(new Float32Array(2), new Float32Array(2), 1, this._controlInterpolantsResultBuffer);
+			interpolant = new LinearInterpolant(new Float32Array(2), new Float32Array(2), 1, _controlInterpolantsResultBuffer);
 			interpolant.__cacheIndex = lastActiveIndex;
 			interpolants[lastActiveIndex] = interpolant;
 		}
@@ -33291,8 +33293,6 @@ class AnimationMixer extends EventDispatcher {
 
 }
 
-AnimationMixer.prototype._controlInterpolantsResultBuffer = new Float32Array(1);
-
 class Uniform {
 	constructor(value) {
 		if (typeof value === 'string') {

+ 3 - 3
build/three.js

@@ -32754,6 +32754,8 @@
 
 	}
 
+	const _controlInterpolantsResultBuffer = /*@__PURE__*/new Float32Array(1);
+
 	class AnimationMixer extends EventDispatcher {
 		constructor(root) {
 			super();
@@ -33084,7 +33086,7 @@
 			let interpolant = interpolants[lastActiveIndex];
 
 			if (interpolant === undefined) {
-				interpolant = new LinearInterpolant(new Float32Array(2), new Float32Array(2), 1, this._controlInterpolantsResultBuffer);
+				interpolant = new LinearInterpolant(new Float32Array(2), new Float32Array(2), 1, _controlInterpolantsResultBuffer);
 				interpolant.__cacheIndex = lastActiveIndex;
 				interpolants[lastActiveIndex] = interpolant;
 			}
@@ -33293,8 +33295,6 @@
 
 	}
 
-	AnimationMixer.prototype._controlInterpolantsResultBuffer = new Float32Array(1);
-
 	class Uniform {
 		constructor(value) {
 			if (typeof value === 'string') {

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
build/three.min.js


+ 4 - 3
build/three.module.js

@@ -45640,6 +45640,9 @@ class AnimationAction {
 
 }
 
+const _controlInterpolantsResultBuffer = /*@__PURE__*/ new Float32Array( 1 );
+
+
 class AnimationMixer extends EventDispatcher {
 
 	constructor( root ) {
@@ -46112,7 +46115,7 @@ class AnimationMixer extends EventDispatcher {
 
 			interpolant = new LinearInterpolant(
 				new Float32Array( 2 ), new Float32Array( 2 ),
-				1, this._controlInterpolantsResultBuffer );
+				1, _controlInterpolantsResultBuffer );
 
 			interpolant.__cacheIndex = lastActiveIndex;
 			interpolants[ lastActiveIndex ] = interpolant;
@@ -46397,8 +46400,6 @@ class AnimationMixer extends EventDispatcher {
 
 }
 
-AnimationMixer.prototype._controlInterpolantsResultBuffer = new Float32Array( 1 );
-
 class Uniform {
 
 	constructor( value ) {

Vissa filer visades inte eftersom för många filer har ändrats