Skip to content

Commit 34f52c0

Browse files
committed
r152 (bis)
1 parent f3b52a9 commit 34f52c0

File tree

7 files changed

+16
-4
lines changed

7 files changed

+16
-4
lines changed

build/three.cjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25670,6 +25670,7 @@ class WebXRController {
2567025670

2567125671
joint.matrix.fromArray( jointPose.transform.matrix );
2567225672
joint.matrix.decompose( joint.position, joint.rotation, joint.scale );
25673+
joint.matrixWorldNeedsUpdate = true;
2567325674
joint.jointRadius = jointPose.radius;
2567425675

2567525676
}
@@ -25718,6 +25719,7 @@ class WebXRController {
2571825719

2571925720
grip.matrix.fromArray( gripPose.transform.matrix );
2572025721
grip.matrix.decompose( grip.position, grip.rotation, grip.scale );
25722+
grip.matrixWorldNeedsUpdate = true;
2572125723

2572225724
if ( gripPose.linearVelocity ) {
2572325725

@@ -25762,6 +25764,7 @@ class WebXRController {
2576225764

2576325765
targetRay.matrix.fromArray( inputPose.transform.matrix );
2576425766
targetRay.matrix.decompose( targetRay.position, targetRay.rotation, targetRay.scale );
25767+
targetRay.matrixWorldNeedsUpdate = true;
2576525768

2576625769
if ( inputPose.linearVelocity ) {
2576725770

@@ -25989,6 +25992,7 @@ class WebXRManager extends EventDispatcher {
2598925992

2599025993
if ( controller !== undefined ) {
2599125994

25995+
controller.update( event.inputSource, event.frame, customReferenceSpace || referenceSpace );
2599225996
controller.dispatchEvent( { type: event.type, data: event.inputSource } );
2599325997

2599425998
}

build/three.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25675,6 +25675,7 @@ console.warn( 'Scripts "build/three.js" and "build/three.min.js" are deprecated
2567525675

2567625676
joint.matrix.fromArray( jointPose.transform.matrix );
2567725677
joint.matrix.decompose( joint.position, joint.rotation, joint.scale );
25678+
joint.matrixWorldNeedsUpdate = true;
2567825679
joint.jointRadius = jointPose.radius;
2567925680

2568025681
}
@@ -25723,6 +25724,7 @@ console.warn( 'Scripts "build/three.js" and "build/three.min.js" are deprecated
2572325724

2572425725
grip.matrix.fromArray( gripPose.transform.matrix );
2572525726
grip.matrix.decompose( grip.position, grip.rotation, grip.scale );
25727+
grip.matrixWorldNeedsUpdate = true;
2572625728

2572725729
if ( gripPose.linearVelocity ) {
2572825730

@@ -25767,6 +25769,7 @@ console.warn( 'Scripts "build/three.js" and "build/three.min.js" are deprecated
2576725769

2576825770
targetRay.matrix.fromArray( inputPose.transform.matrix );
2576925771
targetRay.matrix.decompose( targetRay.position, targetRay.rotation, targetRay.scale );
25772+
targetRay.matrixWorldNeedsUpdate = true;
2577025773

2577125774
if ( inputPose.linearVelocity ) {
2577225775

@@ -25994,6 +25997,7 @@ console.warn( 'Scripts "build/three.js" and "build/three.min.js" are deprecated
2599425997

2599525998
if ( controller !== undefined ) {
2599625999

26000+
controller.update( event.inputSource, event.frame, customReferenceSpace || referenceSpace );
2599726001
controller.dispatchEvent( { type: event.type, data: event.inputSource } );
2599826002

2599926003
}

build/three.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.module.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25668,6 +25668,7 @@ class WebXRController {
2566825668

2566925669
joint.matrix.fromArray( jointPose.transform.matrix );
2567025670
joint.matrix.decompose( joint.position, joint.rotation, joint.scale );
25671+
joint.matrixWorldNeedsUpdate = true;
2567125672
joint.jointRadius = jointPose.radius;
2567225673

2567325674
}
@@ -25716,6 +25717,7 @@ class WebXRController {
2571625717

2571725718
grip.matrix.fromArray( gripPose.transform.matrix );
2571825719
grip.matrix.decompose( grip.position, grip.rotation, grip.scale );
25720+
grip.matrixWorldNeedsUpdate = true;
2571925721

2572025722
if ( gripPose.linearVelocity ) {
2572125723

@@ -25760,6 +25762,7 @@ class WebXRController {
2576025762

2576125763
targetRay.matrix.fromArray( inputPose.transform.matrix );
2576225764
targetRay.matrix.decompose( targetRay.position, targetRay.rotation, targetRay.scale );
25765+
targetRay.matrixWorldNeedsUpdate = true;
2576325766

2576425767
if ( inputPose.linearVelocity ) {
2576525768

@@ -25987,6 +25990,7 @@ class WebXRManager extends EventDispatcher {
2598725990

2598825991
if ( controller !== undefined ) {
2598925992

25993+
controller.update( event.inputSource, event.frame, customReferenceSpace || referenceSpace );
2599025994
controller.dispatchEvent( { type: event.type, data: event.inputSource } );
2599125995

2599225996
}

build/three.module.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "three",
3-
"version": "0.152.0",
3+
"version": "0.152.1",
44
"description": "JavaScript 3D library",
55
"type": "module",
66
"main": "./build/three.js",

0 commit comments

Comments
 (0)