Store body trackers in variant
This commit is contained in:
@@ -36,6 +36,10 @@ xr::pico_body_tracker::pico_body_tracker(instance & inst, XrBodyTrackerBD h)
|
||||
xrLocateBodyJointsBD = inst.get_proc<PFN_xrLocateBodyJointsBD>("xrLocateBodyJointsBD");
|
||||
}
|
||||
|
||||
size_t xr::pico_body_tracker::count() const
|
||||
{
|
||||
return joint_whitelist.size();
|
||||
}
|
||||
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> xr::pico_body_tracker::locate_spaces(XrTime time, XrSpace reference)
|
||||
{
|
||||
if (!xrLocateBodyJointsBD)
|
||||
|
||||
Reference in New Issue
Block a user