summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-30 15:33:30 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-06 04:29:49 +0200
commit4096ab7bae9a07479428ffe932ab12b140b4f8f8 (patch)
tree4e69f9396070aa3e790a0df28510d9501ecc6658 /tracker-steamvr
parent7cc9a890e69356eea2614a0272591004718ba719 (diff)
tracker/steamvr: remove unused
Diffstat (limited to 'tracker-steamvr')
-rw-r--r--tracker-steamvr/steamvr.cpp14
-rw-r--r--tracker-steamvr/steamvr.hpp1
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);