From 4096ab7bae9a07479428ffe932ab12b140b4f8f8 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 30 Mar 2017 15:33:30 +0200 Subject: tracker/steamvr: remove unused --- tracker-steamvr/steamvr.cpp | 14 -------------- tracker-steamvr/steamvr.hpp | 1 - 2 files changed, 15 deletions(-) (limited to 'tracker-steamvr') 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& 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); -- cgit v1.2.3