From a02fbb54925dbb6c2181d31aa231c4d94f972251 Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Thu, 3 Oct 2019 14:39:48 +0200 Subject: [PATCH] Update builds. --- build/three.js | 24 +++++++----------------- build/three.min.js | 10 +++++----- build/three.module.js | 24 +++++++----------------- 3 files changed, 19 insertions(+), 39 deletions(-) diff --git a/build/three.js b/build/three.js index 4af6a79769..6c9378fa41 100644 --- a/build/three.js +++ b/build/three.js @@ -17645,13 +17645,13 @@ } - function generateEnvMapBlendingDefine( parameters, material ) { + function generateEnvMapBlendingDefine( parameters ) { var envMapBlendingDefine = 'ENVMAP_BLENDING_MULTIPLY'; if ( parameters.envMap ) { - switch ( material.combine ) { + switch ( parameters.combine ) { case MultiplyOperation: envMapBlendingDefine = 'ENVMAP_BLENDING_MULTIPLY'; @@ -17684,7 +17684,7 @@ var shadowMapTypeDefine = generateShadowMapTypeDefine( parameters ); var envMapTypeDefine = generateEnvMapTypeDefine( parameters ); var envMapModeDefine = generateEnvMapModeDefine( parameters ); - var envMapBlendingDefine = generateEnvMapBlendingDefine( parameters, material ); + var envMapBlendingDefine = generateEnvMapBlendingDefine( parameters ); var gammaFactorDefine = ( renderer.gammaFactor > 0 ) ? renderer.gammaFactor : 1.0; @@ -48402,14 +48402,9 @@ console.error( 'THREE.BufferAttribute: .copyIndicesArray() has been removed.' ); }, - setArray: function ( array ) { + setArray: function ( /* array */ ) { - console.warn( 'THREE.BufferAttribute: .setArray has been deprecated. Use BufferGeometry .setAttribute to replace/resize attribute buffers' ); - - this.count = array !== undefined ? array.length / this.itemSize : 0; - this.array = array; - - return this; + console.error( 'THREE.BufferAttribute: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers' ); } } ); @@ -48500,14 +48495,9 @@ return this; }, - setArray: function ( array ) { + setArray: function ( /* array */ ) { - console.warn( 'THREE.InterleavedBuffer: .setArray has been deprecated. Use BufferGeometry .setAttribute to replace/resize attribute buffers' ); - - this.count = array !== undefined ? array.length / this.stride : 0; - this.array = array; - - return this; + console.error( 'THREE.InterleavedBuffer: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers' ); } } ); diff --git a/build/three.min.js b/build/three.min.js index 24c42026d0..d146328aed 100644 --- a/build/three.min.js +++ b/build/three.min.js @@ -62,8 +62,8 @@ b.clearcoatNormalMap||b.flatShading?"#extension GL_OES_standard_derivatives : en " "+d)}return b.join("\n")}function Fd(a){return""!==a}function Ah(a,b){return a.replace(/NUM_DIR_LIGHTS/g,b.numDirLights).replace(/NUM_SPOT_LIGHTS/g,b.numSpotLights).replace(/NUM_RECT_AREA_LIGHTS/g,b.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,b.numPointLights).replace(/NUM_HEMI_LIGHTS/g,b.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,b.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS/g,b.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,b.numPointLightShadows)}function Bh(a,b){return a.replace(/NUM_CLIPPING_PLANES/g, b.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,b.numClippingPlanes-b.numClipIntersection)}function Yf(a,b){a=Q[b];if(void 0===a)throw Error("Can not resolve #include <"+b+">");return a.replace(Zf,Yf)}function Ch(a,b,c,d){a="";for(b=parseInt(b);b 0 ) ? renderer.gammaFactor : 1.0; @@ -48391,14 +48391,9 @@ Object.assign( BufferAttribute.prototype, { console.error( 'THREE.BufferAttribute: .copyIndicesArray() has been removed.' ); }, - setArray: function ( array ) { + setArray: function ( /* array */ ) { - console.warn( 'THREE.BufferAttribute: .setArray has been deprecated. Use BufferGeometry .setAttribute to replace/resize attribute buffers' ); - - this.count = array !== undefined ? array.length / this.itemSize : 0; - this.array = array; - - return this; + console.error( 'THREE.BufferAttribute: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers' ); } } ); @@ -48489,14 +48484,9 @@ Object.assign( InterleavedBuffer.prototype, { return this; }, - setArray: function ( array ) { + setArray: function ( /* array */ ) { - console.warn( 'THREE.InterleavedBuffer: .setArray has been deprecated. Use BufferGeometry .setAttribute to replace/resize attribute buffers' ); - - this.count = array !== undefined ? array.length / this.stride : 0; - this.array = array; - - return this; + console.error( 'THREE.InterleavedBuffer: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers' ); } } ); -- GitLab