Compress quaternions in hand tracking packets

This commit is contained in:
Guillaume Meunier
2026-01-16 18:01:05 +01:00
parent 3702cc05b8
commit 317cd6bb91
5 changed files with 138 additions and 4 deletions
+4 -1
View File
@@ -80,7 +80,10 @@ static xrt_space_relation to_relation(const from_headset::hand_tracking::pose &
{
return {
.relation_flags = cast_flags(pose.flags),
.pose = xrt_cast(pose.pose),
.pose = xrt_cast(XrPosef{
.orientation = pose.orientation,
.position = pose.position,
}),
.linear_velocity = xrt_cast(pose.linear_velocity),
.angular_velocity = xrt_cast(pose.angular_velocity),
};