summaryrefslogtreecommitdiffstats
path: root/modules/openxr/scene/openxr_hand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openxr/scene/openxr_hand.cpp')
-rw-r--r--modules/openxr/scene/openxr_hand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/openxr/scene/openxr_hand.cpp b/modules/openxr/scene/openxr_hand.cpp
index 91571a556d..bedc8874d6 100644
--- a/modules/openxr/scene/openxr_hand.cpp
+++ b/modules/openxr/scene/openxr_hand.cpp
@@ -213,8 +213,8 @@ void OpenXRHand::_update_skeleton() {
quaternions[i] = Quaternion();
positions[i] = Vector3();
- const auto &location = hand_tracker->joint_locations[i];
- const auto &pose = location.pose;
+ const XrHandJointLocationEXT &location = hand_tracker->joint_locations[i];
+ const XrPosef &pose = location.pose;
if (location.locationFlags & XR_SPACE_LOCATION_ORIENTATION_VALID_BIT) {
if (pose.orientation.x != 0 || pose.orientation.y != 0 || pose.orientation.z != 0 || pose.orientation.w != 0) {