Explorar el Código

Updated builds.

Mugen87 hace 1 año
padre
commit
ac467cfa71

+ 10 - 3
build/three.cjs

@@ -1,11 +1,11 @@
 /**
  * @license
- * Copyright 2010-2024 Three.js Authors
+ * Copyright 2010-2025 Three.js Authors
  * SPDX-License-Identifier: MIT
  */
 'use strict';
 
-const REVISION = '172';
+const REVISION = '173dev';
 
 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 };
@@ -38577,6 +38577,8 @@ function WebGLBackground( renderer, cubemaps, cubeuvmaps, state, objects, alpha,
 			boxMesh.geometry.dispose();
 			boxMesh.material.dispose();
 
+			boxMesh = undefined;
+
 		}
 
 		if ( planeMesh !== undefined ) {
@@ -38584,6 +38586,8 @@ function WebGLBackground( renderer, cubemaps, cubeuvmaps, state, objects, alpha,
 			planeMesh.geometry.dispose();
 			planeMesh.material.dispose();
 
+			planeMesh = undefined;
+
 		}
 
 	}
@@ -50736,8 +50740,11 @@ class WebXRManager extends EventDispatcher {
 				//
 
 				const enabledFeatures = session.enabledFeatures;
+				const gpuDepthSensingEnabled = enabledFeatures &&
+					enabledFeatures.includes( 'depth-sensing' ) &&
+					session.depthUsage == 'gpu-optimized';
 
-				if ( enabledFeatures && enabledFeatures.includes( 'depth-sensing' ) ) {
+				if ( gpuDepthSensingEnabled && glBinding ) {
 
 					const depthData = glBinding.getDepthInformation( views[ 0 ] );
 

+ 2 - 2
build/three.core.js

@@ -1,9 +1,9 @@
 /**
  * @license
- * Copyright 2010-2024 Three.js Authors
+ * Copyright 2010-2025 Three.js Authors
  * SPDX-License-Identifier: MIT
  */
-const REVISION = '172';
+const REVISION = '173dev';
 
 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 };

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
build/three.core.min.js


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
build/three.module.js


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
build/three.module.min.js


+ 1 - 1
build/three.tsl.js

@@ -1,6 +1,6 @@
 /**
  * @license
- * Copyright 2010-2024 Three.js Authors
+ * Copyright 2010-2025 Three.js Authors
  * SPDX-License-Identifier: MIT
  */
 import { TSL } from 'three/webgpu';

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
build/three.tsl.min.js


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
build/three.webgpu.js


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
build/three.webgpu.min.js


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
build/three.webgpu.nodes.js


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
build/three.webgpu.nodes.min.js


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio

粤ICP备19079148号