summaryrefslogtreecommitdiffhomepage
path: root/tracker-steamvr
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-steamvr')
-rw-r--r--tracker-steamvr/steamvr.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tracker-steamvr/steamvr.cpp b/tracker-steamvr/steamvr.cpp
index 4cdec5e8..4264b755 100644
--- a/tracker-steamvr/steamvr.cpp
+++ b/tracker-steamvr/steamvr.cpp
@@ -267,7 +267,6 @@ bool steamvr::center()
// Use chaperone universe real world up instead of opentrack's initial pose centering
// Note: Controllers will be centered based on initial headset position.
- // TODO: may want to center controller/tracker yaw and position (only) when used alone
return true;
}
else
@@ -289,8 +288,6 @@ void steamvr::matrix_to_euler(double& yaw, double& pitch, double& roll, const vr
yaw = atan2(d(result.m[2][0]), d(result.m[0][0]));
pitch = atan2(-d(result.m[1][2]), d(result.m[1][1]));
roll = asin(d(result.m[1][0]));
-
- // TODO: gimbal lock avoidance?
}
steamvr_dialog::steamvr_dialog()