@needle-tools/three 0.169.20-experimental.0 → 0.169.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/three.cjs +13 -1
- package/build/three.module.js +13 -1
- package/build/three.module.min.js +1 -1
- package/build/three.webgpu.js +13 -1
- package/build/three.webgpu.min.js +1 -1
- package/build/three.webgpu.nodes.js +13 -1
- package/build/three.webgpu.nodes.min.js +1 -1
- package/package.json +1 -4
- package/src/animation/AnimationMixer.js +6 -0
- package/src/constants.js +1 -1
- package/src/loaders/Loader.js +6 -0
package/build/three.webgpu.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2010-2024 Three.js Authors
|
|
4
4
|
* SPDX-License-Identifier: MIT
|
|
5
5
|
*/
|
|
6
|
-
const REVISION = '169.
|
|
6
|
+
const REVISION = '169.20';
|
|
7
7
|
|
|
8
8
|
const MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 };
|
|
9
9
|
const TOUCH = { ROTATE: 0, PAN: 1, DOLLY_PAN: 2, DOLLY_ROTATE: 3 };
|
|
@@ -26393,6 +26393,12 @@ class Loader {
|
|
|
26393
26393
|
this.resourcePath = '';
|
|
26394
26394
|
this.requestHeader = {};
|
|
26395
26395
|
|
|
26396
|
+
if ( typeof __THREE_DEVTOOLS__ !== 'undefined' ) {
|
|
26397
|
+
|
|
26398
|
+
__THREE_DEVTOOLS__.dispatchEvent( new CustomEvent( 'observe', { detail: this } ) );
|
|
26399
|
+
|
|
26400
|
+
}
|
|
26401
|
+
|
|
26396
26402
|
}
|
|
26397
26403
|
|
|
26398
26404
|
load( /* url, onLoad, onProgress, onError */ ) {}
|
|
@@ -33248,6 +33254,12 @@ class AnimationMixer extends EventDispatcher {
|
|
|
33248
33254
|
this.time = 0;
|
|
33249
33255
|
this.timeScale = 1.0;
|
|
33250
33256
|
|
|
33257
|
+
if ( typeof __THREE_DEVTOOLS__ !== 'undefined' ) {
|
|
33258
|
+
|
|
33259
|
+
__THREE_DEVTOOLS__.dispatchEvent( new CustomEvent( 'observe', { detail: this } ) );
|
|
33260
|
+
|
|
33261
|
+
}
|
|
33262
|
+
|
|
33251
33263
|
}
|
|
33252
33264
|
|
|
33253
33265
|
_bindAction( action, prototypeAction ) {
|