From 0aa16cfcd724f6907a27d9e1e57f34f0d09deb4a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 21 May 2017 08:54:51 +0200 Subject: tracker/steamvr: cleanup stale comments We'll do gimbal lock avoidance in the compat module. --- tracker-steamvr/steamvr.cpp | 3 --- 1 file changed, 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() -- cgit v1.2.3