switch to stage tracking on client

This commit is contained in:
galister
2024-09-05 13:46:00 +02:00
committed by Patrick Nicolas
parent 5e55e714aa
commit 2141c66c6e
7 changed files with 55 additions and 61 deletions
+8 -1
View File
@@ -131,6 +131,11 @@ struct tracking
position_tracked = 1 << 5
};
enum state_flags : uint8_t
{
recentered = 1 << 0,
};
struct pose
{
device_id device;
@@ -149,7 +154,9 @@ struct tracking
XrTime production_timestamp;
XrTime timestamp;
XrViewStateFlags flags;
XrViewStateFlags view_flags;
uint8_t state_flags;
std::array<view, 2> views;
std::vector<pose> device_poses;