Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Commit da44de5

Browse files
authored
Auto merge of #189 - Manishearth:joint-mapping, r=jdm
Fix joint mapping whoops
2 parents ae74e50 + 3756edb commit da44de5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

webxr/openxr/input.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -390,29 +390,29 @@ fn locate_hand(
390390
thumb_phalanx_tip: Some(&locations[HandJoint::THUMB_TIP]),
391391
index: Finger {
392392
metacarpal: Some(&locations[HandJoint::INDEX_METACARPAL]),
393-
phalanx_proximal: Some(&locations[HandJoint::INDEX_METACARPAL]),
394-
phalanx_intermediate: Some(&locations[HandJoint::INDEX_PROXIMAL]),
393+
phalanx_proximal: Some(&locations[HandJoint::INDEX_PROXIMAL]),
394+
phalanx_intermediate: Some(&locations[HandJoint::INDEX_INTERMEDIATE]),
395395
phalanx_distal: Some(&locations[HandJoint::INDEX_DISTAL]),
396396
phalanx_tip: Some(&locations[HandJoint::INDEX_TIP]),
397397
},
398398
middle: Finger {
399399
metacarpal: Some(&locations[HandJoint::MIDDLE_METACARPAL]),
400-
phalanx_proximal: Some(&locations[HandJoint::MIDDLE_METACARPAL]),
401-
phalanx_intermediate: Some(&locations[HandJoint::MIDDLE_PROXIMAL]),
400+
phalanx_proximal: Some(&locations[HandJoint::MIDDLE_PROXIMAL]),
401+
phalanx_intermediate: Some(&locations[HandJoint::MIDDLE_INTERMEDIATE]),
402402
phalanx_distal: Some(&locations[HandJoint::MIDDLE_DISTAL]),
403403
phalanx_tip: Some(&locations[HandJoint::MIDDLE_TIP]),
404404
},
405405
ring: Finger {
406406
metacarpal: Some(&locations[HandJoint::RING_METACARPAL]),
407-
phalanx_proximal: Some(&locations[HandJoint::RING_METACARPAL]),
408-
phalanx_intermediate: Some(&locations[HandJoint::RING_PROXIMAL]),
407+
phalanx_proximal: Some(&locations[HandJoint::RING_PROXIMAL]),
408+
phalanx_intermediate: Some(&locations[HandJoint::RING_INTERMEDIATE]),
409409
phalanx_distal: Some(&locations[HandJoint::RING_DISTAL]),
410410
phalanx_tip: Some(&locations[HandJoint::RING_TIP]),
411411
},
412412
little: Finger {
413413
metacarpal: Some(&locations[HandJoint::LITTLE_METACARPAL]),
414-
phalanx_proximal: Some(&locations[HandJoint::LITTLE_METACARPAL]),
415-
phalanx_intermediate: Some(&locations[HandJoint::LITTLE_PROXIMAL]),
414+
phalanx_proximal: Some(&locations[HandJoint::LITTLE_PROXIMAL]),
415+
phalanx_intermediate: Some(&locations[HandJoint::LITTLE_INTERMEDIATE]),
416416
phalanx_distal: Some(&locations[HandJoint::LITTLE_DISTAL]),
417417
phalanx_tip: Some(&locations[HandJoint::LITTLE_TIP]),
418418
},

0 commit comments

Comments
 (0)