Add velocity for htc_body

This commit is contained in:
Sapphire
2026-07-10 13:22:14 -05:00
parent 881450867a
commit e611fdcc51
3 changed files with 11 additions and 9 deletions
+2
View File
@@ -75,6 +75,8 @@ void tracker_pose_list::update_tracking(XrTime produced_timestamp, XrTime timest
xrt_space_relation rel{
.relation_flags = from_pose_flags(pose.flags),
.pose = xrt_cast(pose.pose),
.linear_velocity = xrt_cast(pose.linear_velocity),
.angular_velocity = xrt_cast(pose.angular_velocity),
};
add_sample(produced_timestamp, timestamp, rel, offset);
}