diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-21 08:54:51 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-21 08:54:51 +0200 |
commit | 0aa16cfcd724f6907a27d9e1e57f34f0d09deb4a (patch) | |
tree | f951bbe7001954897b28e87a21e83b1bcc9f33f5 /tracker-steamvr | |
parent | ec88c2032420cad4920e516a176fb7866be9074f (diff) |
tracker/steamvr: cleanup stale comments
We'll do gimbal lock avoidance in the compat module.
Diffstat (limited to 'tracker-steamvr')
-rw-r--r-- | tracker-steamvr/steamvr.cpp | 3 |
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() |