diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-07 16:33:17 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-07 16:33:17 +0200 |
commit | 0b9ffdfc02d55fc66c5488b757060601bcd86f95 (patch) | |
tree | 6dd84f1c49db69eec2cac28f6ad586f0342e57f8 /modules/openxr/scene/openxr_hand.cpp | |
parent | 074931a3aaad4648a212e00304f0124530b69fc6 (diff) | |
parent | 11518665b773e057ec1f3741276e46b0794a229e (diff) | |
download | redot-engine-0b9ffdfc02d55fc66c5488b757060601bcd86f95.tar.gz |
Merge pull request #81414 from akien-mga/codestyle-get-back-in-das-Auto
Codestyle: Don't use auto where not warranted
Diffstat (limited to 'modules/openxr/scene/openxr_hand.cpp')
-rw-r--r-- | modules/openxr/scene/openxr_hand.cpp | 4 |
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) { |