Skip to content

Commit

Permalink
Updated builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Jan 17, 2022
1 parent 63f7beb commit e2dac11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
12 changes: 5 additions & 7 deletions build/three.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.THREE = {}));
})(this, (function (exports) { 'use strict';
}(this, (function (exports) { 'use strict';

const REVISION = '137dev';
const MOUSE = {
Expand Down Expand Up @@ -14319,7 +14319,7 @@
instancing: object.isInstancedMesh === true,
instancingColor: object.isInstancedMesh === true && object.instanceColor !== null,
supportsVertexTextures: vertexTextures,
outputEncoding: currentRenderTarget !== null ? currentRenderTarget.texture.encoding : renderer.outputEncoding,
outputEncoding: currentRenderTarget === null ? renderer.outputEncoding : LinearEncoding,
map: !!material.map,
matcap: !!material.matcap,
envMap: !!envMap,
Expand Down Expand Up @@ -19970,7 +19970,7 @@
textures.resetTextureUnits();
const fog = scene.fog;
const environment = material.isMeshStandardMaterial ? scene.environment : null;
const encoding = _currentRenderTarget === null ? _this.outputEncoding : _currentRenderTarget.texture.encoding;
const encoding = _currentRenderTarget === null ? _this.outputEncoding : LinearEncoding;
const envMap = (material.isMeshStandardMaterial ? cubeuvmaps : cubemaps).get(material.envMap || environment);
const vertexAlphas = material.vertexColors === true && !!geometry.attributes.color && geometry.attributes.color.itemSize === 4;
const vertexTangents = !!material.normalMap && !!geometry.attributes.tangent;
Expand Down Expand Up @@ -24541,9 +24541,7 @@


function isValidDiagonal(a, b) {
return a.next.i !== b.i && a.prev.i !== b.i && !intersectsPolygon(a, b) && ( // dones't intersect other edges
locallyInside(a, b) && locallyInside(b, a) && middleInside(a, b) && ( // locally visible
area(a.prev, a, b.prev) || area(a, b.prev, b)) || // does not create opposite-facing sectors
return a.next.i !== b.i && a.prev.i !== b.i && !intersectsPolygon(a, b) && (locallyInside(a, b) && locallyInside(b, a) && middleInside(a, b) && (area(a.prev, a, b.prev) || area(a, b.prev, b)) || // does not create opposite-facing sectors
equals(a, b) && area(a.prev, a, a.next) > 0 && area(b.prev, b, b.next) > 0); // special zero-length case
} // signed area of a triangle

Expand Down Expand Up @@ -36700,4 +36698,4 @@

Object.defineProperty(exports, '__esModule', { value: true });

}));
})));
2 changes: 1 addition & 1 deletion build/three.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/three.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -19009,7 +19009,7 @@ function WebGLPrograms( renderer, cubemaps, cubeuvmaps, extensions, capabilities
instancingColor: object.isInstancedMesh === true && object.instanceColor !== null,

supportsVertexTextures: vertexTextures,
outputEncoding: ( currentRenderTarget !== null ) ? currentRenderTarget.texture.encoding : renderer.outputEncoding,
outputEncoding: ( currentRenderTarget === null ) ? renderer.outputEncoding : LinearEncoding,
map: !! material.map,
matcap: !! material.matcap,
envMap: !! envMap,
Expand Down Expand Up @@ -27222,7 +27222,7 @@ function WebGLRenderer( parameters = {} ) {

const fog = scene.fog;
const environment = material.isMeshStandardMaterial ? scene.environment : null;
const encoding = ( _currentRenderTarget === null ) ? _this.outputEncoding : _currentRenderTarget.texture.encoding;
const encoding = ( _currentRenderTarget === null ) ? _this.outputEncoding : LinearEncoding;
const envMap = ( material.isMeshStandardMaterial ? cubeuvmaps : cubemaps ).get( material.envMap || environment );
const vertexAlphas = material.vertexColors === true && !! geometry.attributes.color && geometry.attributes.color.itemSize === 4;
const vertexTangents = !! material.normalMap && !! geometry.attributes.tangent;
Expand Down

0 comments on commit e2dac11

Please sign in to comment.