Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
avvy
three.js
Commits
6360fe57
Commit
6360fe57
authored
1 year ago
by
Mugen87
Browse files
Options
Download
Email Patches
Plain Diff
Updated builds.
parent
cefdf9bc
No related merge requests found
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
build/three.cjs
+6
-17
build/three.cjs
build/three.js
+6
-17
build/three.js
build/three.min.js
+1
-1
build/three.min.js
build/three.module.js
+6
-17
build/three.module.js
build/three.module.min.js
+1
-1
build/three.module.min.js
with
20 additions
and
53 deletions
+20
-53
build/three.cjs
View file @
6360fe57
...
...
@@ -5,7 +5,7 @@
*/
'use strict';
const REVISION = '15
5
';
const REVISION = '15
6dev
';
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;
This diff is collapsed.
Click to expand it.
build/three.js
View file @
6360fe57
...
...
@@ -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 = '15
5
';
const REVISION = '15
6dev
';
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.
Click to expand it.
build/three.min.js
View file @
6360fe57
This diff is collapsed.
Click to expand it.
build/three.module.js
View file @
6360fe57
...
...
@@ -3,7 +3,7 @@
* Copyright 2010-2023 Three.js Authors
* SPDX-License-Identifier: MIT
*/
const REVISION = '15
5
';
const REVISION = '15
6dev
';
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.
Click to expand it.
build/three.module.min.js
View file @
6360fe57
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help