Only ask actual hand tracking in lobby

This commit is contained in:
Patrick Nicolas
2026-10-27 22:08:34 +01:00
parent 8c5afd9a27
commit 500a60b685
8 changed files with 42 additions and 49 deletions
+4 -2
View File
@@ -99,7 +99,7 @@ xr::space xr::session::create_action_space(XrAction action, const XrPosef & pose
return s;
}
xr::hand_tracker xr::session::create_hand_tracker(XrHandEXT hand, XrHandJointSetEXT hand_joint_set)
xr::hand_tracker xr::session::create_hand_tracker(XrHandEXT hand, std::span<XrHandTrackingDataSourceEXT> sources, XrHandJointSetEXT hand_joint_set)
{
return {
*inst,
@@ -109,7 +109,9 @@ xr::hand_tracker xr::session::create_hand_tracker(XrHandEXT hand, XrHandJointSet
.next = nullptr,
.hand = hand,
.handJointSet = hand_joint_set,
}};
},
sources,
};
}
std::vector<vk::Format> xr::session::get_swapchain_formats() const