diff options
-rw-r--r-- | tracker-steamvr/steamvr.cpp | 14 | ||||
-rw-r--r-- | tracker-steamvr/steamvr.hpp | 1 |
2 files changed, 0 insertions, 15 deletions
diff --git a/tracker-steamvr/steamvr.cpp b/tracker-steamvr/steamvr.cpp index 5a68dafc..b04ebd33 100644 --- a/tracker-steamvr/steamvr.cpp +++ b/tracker-steamvr/steamvr.cpp @@ -131,20 +131,6 @@ device_list::maybe_pose device_list::get_pose(int k) }); } -bool device_list::get_all_poses(pose_t* poses) -{ - with_vr_lock([poses](vr_t v, error_t) - { - if (v) - { - v->GetDeviceToAbsoluteTrackingPose(origin::TrackingUniverseSeated, 0, - poses, max_devices); - } - return v != nullptr; - }); - -} - tt device_list::vr_init() { static tt t = vr_init_(); diff --git a/tracker-steamvr/steamvr.hpp b/tracker-steamvr/steamvr.hpp index 0c6af65a..cb59f17e 100644 --- a/tracker-steamvr/steamvr.hpp +++ b/tracker-steamvr/steamvr.hpp @@ -50,7 +50,6 @@ struct device_list final const QList<device_spec>& devices() const & { return device_specs; } static OTR_NEVER_INLINE maybe_pose get_pose(int k); - static bool get_all_poses(pose_t*poses); static QString strerror(error_t error); static constexpr int max_devices = int(vr::k_unMaxTrackedDeviceCount); |