Remove bool return from update_tracking

This commit is contained in:
Patrick Nicolas
2026-01-29 09:51:59 +01:00
parent 3f58345cf0
commit 47d7322070
13 changed files with 25 additions and 42 deletions
+2 -3
View File
@@ -120,14 +120,13 @@ static xrt_hand_joint_set convert_joints(const std::optional<std::array<from_hea
return output_joints;
}
bool hand_joints_list::update_tracking(const from_headset::hand_tracking & tracking, const clock_offset & offset)
void hand_joints_list::update_tracking(const from_headset::hand_tracking & tracking, const clock_offset & offset)
{
if (tracking.hand == hand_id)
return add_sample(
add_sample(
tracking.production_timestamp,
tracking.timestamp,
convert_joints(tracking.joints),
offset);
return true;
}
} // namespace wivrn