Mugen87 пре 1 месец
родитељ
комит
d05aedd13f
7 измењених фајлова са 504 додато и 362 уклоњено
  1. 12 0
      build/three.cjs
  2. 12 0
      build/three.core.js
  3. 0 0
      build/three.core.min.js
  4. 240 181
      build/three.webgpu.js
  5. 0 0
      build/three.webgpu.min.js
  6. 240 181
      build/three.webgpu.nodes.js
  7. 0 0
      build/three.webgpu.nodes.min.js

+ 12 - 0
build/three.cjs

@@ -13450,6 +13450,7 @@ class WebXRController {
 			this._grip.linearVelocity = new Vector3();
 			this._grip.hasAngularVelocity = false;
 			this._grip.angularVelocity = new Vector3();
+			this._grip.eventsEnabled = false;
 
 		}
 
@@ -13662,6 +13663,17 @@ class WebXRController {
 
 						}
 
+						// grip update event if enabled
+						if ( grip.eventsEnabled ) {
+
+							grip.dispatchEvent( {
+								type: 'gripUpdated',
+								data: inputSource,
+								target: this
+							} );
+
+						}
+
 					}
 
 				}

+ 12 - 0
build/three.core.js

@@ -13470,6 +13470,7 @@ class WebXRController {
 			this._grip.linearVelocity = new Vector3();
 			this._grip.hasAngularVelocity = false;
 			this._grip.angularVelocity = new Vector3();
+			this._grip.eventsEnabled = false;
 
 		}
 
@@ -13682,6 +13683,17 @@ class WebXRController {
 
 						}
 
+						// grip update event if enabled
+						if ( grip.eventsEnabled ) {
+
+							grip.dispatchEvent( {
+								type: 'gripUpdated',
+								data: inputSource,
+								target: this
+							} );
+
+						}
+
 					}
 
 				}

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
build/three.core.min.js


Разлика између датотеке није приказан због своје велике величине
+ 240 - 181
build/three.webgpu.js


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
build/three.webgpu.min.js


Разлика између датотеке није приказан због своје велике величине
+ 240 - 181
build/three.webgpu.nodes.js


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
build/three.webgpu.nodes.min.js


Неке датотеке нису приказане због велике количине промена

粤ICP备19079148号