Support hands in GUI

This commit is contained in:
Guillaume Meunier
2024-03-30 13:44:51 +01:00
parent 6a553b218a
commit 4fa63b3cf5
4 changed files with 95 additions and 41 deletions
+3
View File
@@ -22,6 +22,9 @@
std::optional<std::array<xr::hand_tracker::joint, XR_HAND_JOINT_COUNT_EXT>> xr::hand_tracker::locate(XrSpace space, XrTime time)
{
if (!id || !xrLocateHandJointsEXT)
return std::nullopt;
XrHandJointsLocateInfoEXT info{
.type = XR_TYPE_HAND_JOINTS_LOCATE_INFO_EXT,
.next = nullptr,