Commit 6360fe57 authored by Mugen87's avatar Mugen87
Browse files

Updated builds.

parent cefdf9bc
No related merge requests found
Showing with 20 additions and 53 deletions
+20 -53
......@@ -5,7 +5,7 @@
*/
'use strict';
 
const REVISION = '155';
const REVISION = '156dev';
 
const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
......@@ -14693,24 +14693,15 @@ function WebGLBackground( renderer, cubemaps, cubeuvmaps, state, objects, alpha,
 
}
 
const xr = renderer.xr;
const environmentBlendMode = xr.getEnvironmentBlendMode();
const environmentBlendMode = renderer.xr.getEnvironmentBlendMode();
 
switch ( environmentBlendMode ) {
if ( environmentBlendMode === 'additive' ) {
 
case 'opaque':
forceClear = true;
break;
state.buffers.color.setClear( 0, 0, 0, 1, premultipliedAlpha );
 
case 'additive':
state.buffers.color.setClear( 0, 0, 0, 1, premultipliedAlpha );
forceClear = true;
break;
} else if ( environmentBlendMode === 'alpha-blend' ) {
 
case 'alpha-blend':
state.buffers.color.setClear( 0, 0, 0, 0, premultipliedAlpha );
forceClear = true;
break;
state.buffers.color.setClear( 0, 0, 0, 0, premultipliedAlpha );
 
}
 
......@@ -42532,8 +42523,6 @@ class DataTextureLoader extends Loader {
 
}
 
if ( ! texData ) return onError(); // TODO: Remove this when all loaders properly throw errors
if ( texData.image !== undefined ) {
 
texture.image = texData.image;
......@@ -10,7 +10,7 @@ console.warn( 'Scripts "build/three.js" and "build/three.min.js" are deprecated
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.THREE = {}));
})(this, (function (exports) { 'use strict';
 
const REVISION = '155';
const REVISION = '156dev';
 
const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
......@@ -14698,24 +14698,15 @@ console.warn( 'Scripts "build/three.js" and "build/three.min.js" are deprecated
 
}
 
const xr = renderer.xr;
const environmentBlendMode = xr.getEnvironmentBlendMode();
const environmentBlendMode = renderer.xr.getEnvironmentBlendMode();
 
switch ( environmentBlendMode ) {
if ( environmentBlendMode === 'additive' ) {
 
case 'opaque':
forceClear = true;
break;
state.buffers.color.setClear( 0, 0, 0, 1, premultipliedAlpha );
 
case 'additive':
state.buffers.color.setClear( 0, 0, 0, 1, premultipliedAlpha );
forceClear = true;
break;
} else if ( environmentBlendMode === 'alpha-blend' ) {
 
case 'alpha-blend':
state.buffers.color.setClear( 0, 0, 0, 0, premultipliedAlpha );
forceClear = true;
break;
state.buffers.color.setClear( 0, 0, 0, 0, premultipliedAlpha );
 
}
 
......@@ -42537,8 +42528,6 @@ console.warn( 'Scripts "build/three.js" and "build/three.min.js" are deprecated
 
}
 
if ( ! texData ) return onError(); // TODO: Remove this when all loaders properly throw errors
if ( texData.image !== undefined ) {
 
texture.image = texData.image;
This diff is collapsed.
......@@ -3,7 +3,7 @@
* Copyright 2010-2023 Three.js Authors
* SPDX-License-Identifier: MIT
*/
const REVISION = '155';
const REVISION = '156dev';
 
const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
......@@ -14691,24 +14691,15 @@ function WebGLBackground( renderer, cubemaps, cubeuvmaps, state, objects, alpha,
 
}
 
const xr = renderer.xr;
const environmentBlendMode = xr.getEnvironmentBlendMode();
const environmentBlendMode = renderer.xr.getEnvironmentBlendMode();
 
switch ( environmentBlendMode ) {
if ( environmentBlendMode === 'additive' ) {
 
case 'opaque':
forceClear = true;
break;
state.buffers.color.setClear( 0, 0, 0, 1, premultipliedAlpha );
 
case 'additive':
state.buffers.color.setClear( 0, 0, 0, 1, premultipliedAlpha );
forceClear = true;
break;
} else if ( environmentBlendMode === 'alpha-blend' ) {
 
case 'alpha-blend':
state.buffers.color.setClear( 0, 0, 0, 0, premultipliedAlpha );
forceClear = true;
break;
state.buffers.color.setClear( 0, 0, 0, 0, premultipliedAlpha );
 
}
 
......@@ -42530,8 +42521,6 @@ class DataTextureLoader extends Loader {
 
}
 
if ( ! texData ) return onError(); // TODO: Remove this when all loaders properly throw errors
if ( texData.image !== undefined ) {
 
texture.image = texData.image;
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment