diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-28 23:51:27 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-28 23:51:27 +0200 |
commit | 68b8813965cdead743a70e8ee47458d8f1e21dd4 (patch) | |
tree | 8f6348420f092889b1f6567b827e001952e8cf46 /tracker-steamvr/dialog.cpp | |
parent | f7e66633b3906c90342ff1bd857ab9b3d63dab8e (diff) |
tracker/steamvr: fix vive rotation order
Submitted-by: @subnet-
Issue: #353
cf.
https://github.com/opentrack/opentrack/issues/352#issuecomment-289306146
The submitter's working on the roll code. sin^1 codomain is +-90
deg. so we better use the equivalent atan2(3) formula.
Diffstat (limited to 'tracker-steamvr/dialog.cpp')
-rw-r--r-- | tracker-steamvr/dialog.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tracker-steamvr/dialog.cpp b/tracker-steamvr/dialog.cpp index 1bfa5bcb..bbb8866d 100644 --- a/tracker-steamvr/dialog.cpp +++ b/tracker-steamvr/dialog.cpp @@ -7,11 +7,6 @@ steamvr_dialog::steamvr_dialog() connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); - - for (unsigned i = 0; i < 6; i++) - ui.rotation_order->addItem(QStringLiteral("order #%1").arg(i)); - - tie_setting(s.order, ui.rotation_order); } void steamvr_dialog::doOK() |