Store face tracker in variant

This commit is contained in:
Sapphire
2025-06-30 11:34:34 +02:00
committed by xytovl
parent dd4d442f43
commit 8dc2b7a5e0
14 changed files with 137 additions and 208 deletions
+2 -1
View File
@@ -34,9 +34,10 @@ class fb_face_tracker2 : public utils::handle<XrFaceTracker2FB, destroy_fb_face_
PFN_xrDestroyFaceTracker2FB xrDestroyFaceTracker2FB{};
public:
using packet_type = wivrn::from_headset::tracking::fb_face2;
fb_face_tracker2() = default;
fb_face_tracker2(instance & inst, XrFaceTracker2FB h);
void get_weights(XrTime time, struct wivrn::from_headset::tracking::fb_face2 & out_expressions);
void get_weights(XrTime time, packet_type & out_expressions);
};
} // namespace xr