We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a33ba7 commit d0b307fCopy full SHA for d0b307f
alvr/server_openvr/cpp/alvr_server/PoseHistory.cpp
@@ -68,8 +68,8 @@ PoseHistory::GetBestPoseMatch(const vr::HmdMatrix34_t& pose) const {
68
return {};
69
}
70
71
-std::optional<PoseHistory::TrackingHistoryFrame> PoseHistory::GetPoseAt(uint64_t timestampNs
72
-) const {
+std::optional<PoseHistory::TrackingHistoryFrame>
+PoseHistory::GetPoseAt(uint64_t timestampNs) const {
73
std::unique_lock<std::mutex> lock(m_mutex);
74
for (auto it = m_poseBuffer.rbegin(), end = m_poseBuffer.rend(); it != end; ++it) {
75
if (it->targetTimestampNs == timestampNs)
0 commit comments