diff --git a/examples-testing/changes.patch b/examples-testing/changes.patch index 4a8987b16..58967e202 100644 --- a/examples-testing/changes.patch +++ b/examples-testing/changes.patch @@ -14522,7 +14522,7 @@ index b659652..06e3224 100644 // diff --git a/examples-testing/examples/webxr_vr_sandbox.ts b/examples-testing/examples/webxr_vr_sandbox.ts -index aa80cf7..e929206 100644 +index 6ffadcf..b3b80e3 100644 --- a/examples-testing/examples/webxr_vr_sandbox.ts +++ b/examples-testing/examples/webxr_vr_sandbox.ts @@ -12,9 +12,9 @@ import { XRControllerModelFactory } from 'three/addons/webxr/XRControllerModelFa @@ -14538,7 +14538,7 @@ index aa80cf7..e929206 100644 const parameters = { radius: 0.6, -@@ -197,7 +197,7 @@ function animate() { +@@ -199,7 +199,7 @@ function animate() { function render() { const time = performance.now() * 0.0002; @@ -14547,7 +14547,7 @@ index aa80cf7..e929206 100644 torus.rotation.x = time * 0.4; torus.rotation.y = time; -@@ -205,5 +205,9 @@ function render() { +@@ -207,5 +207,9 @@ function render() { stats.update(); // Canvas elements doesn't trigger DOM updates, so we have to update the texture diff --git a/three.js b/three.js index a11a7735d..791ed5afd 160000 --- a/three.js +++ b/three.js @@ -1 +1 @@ -Subproject commit a11a7735dabd19160d5adae4d5e4372b09e20789 +Subproject commit 791ed5afd5172f2566d915772d7686a34d7172e5 diff --git a/types/three/examples/jsm/interactive/InteractiveGroup.d.ts b/types/three/examples/jsm/interactive/InteractiveGroup.d.ts index c1d6d2ba4..94a994f6c 100644 --- a/types/three/examples/jsm/interactive/InteractiveGroup.d.ts +++ b/types/three/examples/jsm/interactive/InteractiveGroup.d.ts @@ -14,5 +14,7 @@ export interface InteractiveObject3DEventMap extends Object3DEventMap { export class InteractiveObject3D extends Object3D {} export class InteractiveGroup extends Group { - constructor(renderer: WebGLRenderer, camera: Camera); + listenToPointerEvents(renderer: WebGLRenderer, camera: Camera): void; + + listenToXRControllerEvents(renderer: WebGLRenderer): void; }