Skip to content

Commit 4d90e23

Browse files
committed
Updated builds.
1 parent b4b24e3 commit 4d90e23

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

build/three.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8411,8 +8411,7 @@
84118411
var TYPED_ARRAYS = {
84128412
Int8Array: Int8Array,
84138413
Uint8Array: Uint8Array,
8414-
// Workaround for IE11 pre KB2929437. See #11440
8415-
Uint8ClampedArray: typeof Uint8ClampedArray !== 'undefined' ? Uint8ClampedArray : Uint8Array,
8414+
Uint8ClampedArray: Uint8ClampedArray,
84168415
Int16Array: Int16Array,
84178416
Uint16Array: Uint16Array,
84188417
Int32Array: Int32Array,
@@ -16300,9 +16299,8 @@
1630016299
function generateMipmap(target, texture, width, height) {
1630116300
_gl.generateMipmap(target);
1630216301

16303-
var textureProperties = properties.get(texture); // Note: Math.log( x ) * Math.LOG2E used instead of Math.log2( x ) which is not supported by IE11
16304-
16305-
textureProperties.__maxMipLevel = Math.log(Math.max(width, height)) * Math.LOG2E;
16302+
var textureProperties = properties.get(texture);
16303+
textureProperties.__maxMipLevel = Math.log2(Math.max(width, height));
1630616304
}
1630716305

1630816306
function getInternalFormat(internalFormatName, glFormat, glType) {

build/three.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.module.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9523,8 +9523,7 @@ function arrayMax( array ) {
95239523
const TYPED_ARRAYS = {
95249524
Int8Array: Int8Array,
95259525
Uint8Array: Uint8Array,
9526-
// Workaround for IE11 pre KB2929437. See #11440
9527-
Uint8ClampedArray: typeof Uint8ClampedArray !== 'undefined' ? Uint8ClampedArray : Uint8Array,
9526+
Uint8ClampedArray: Uint8ClampedArray,
95289527
Int16Array: Int16Array,
95299528
Uint16Array: Uint16Array,
95309529
Int32Array: Int32Array,
@@ -20183,8 +20182,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
2018320182

2018420183
const textureProperties = properties.get( texture );
2018520184

20186-
// Note: Math.log( x ) * Math.LOG2E used instead of Math.log2( x ) which is not supported by IE11
20187-
textureProperties.__maxMipLevel = Math.log( Math.max( width, height ) ) * Math.LOG2E;
20185+
textureProperties.__maxMipLevel = Math.log2( Math.max( width, height ) );
2018820186

2018920187
}
2019020188

0 commit comments

Comments
 (0)