We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2312d8c commit faf6d2bCopy full SHA for faf6d2b
polyfill/CustomWebXRPolyfill.js
@@ -327,6 +327,12 @@ export default class CustomWebXRPolyfill extends WebXRPolyfill {
327
throw new TypeError('radii array size insufficient');
328
}
329
spaces.forEach((jointSpace, i) => {
330
+ const xrhand = jointSpace[XRJOINTSPACE_PRIVATE].xrhand;
331
+ const xrInputSource = xrhand[XRHAND_PRIVATE].inputSource;
332
+ const handedness = xrInputSource.handedness;
333
+ const device = this[XRFRAME_PRIVATE].device;
334
+ const poseId = device.handPoseData[handedness].poseId;
335
+ const handPose = HAND_POSES[poseId];
336
const jointName = jointSpace.jointName;
337
radii[i] = handPose[jointName].radius;
338
});
0 commit comments