diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-27 04:20:29 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-27 04:20:29 +0200 |
commit | 9168374841f69bb9edd996d7f99759629d98a0ea (patch) | |
tree | 5c33f85d5a6edb422bbd1333b0466d4da32589d6 /ftnoir_tracker_rift/ftnoir_tracker_rift.cpp | |
parent | c557231b34a5c536a3fcb4f4a21c47d06b3a1ade (diff) |
Rift: UI fixes
Diffstat (limited to 'ftnoir_tracker_rift/ftnoir_tracker_rift.cpp')
-rw-r--r-- | ftnoir_tracker_rift/ftnoir_tracker_rift.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp index ca290d0b..53ce8842 100644 --- a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp +++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp @@ -74,16 +74,17 @@ bool Rift_Tracker::GiveHeadPoseData(double *data) newHeadPose[RY] =pitch; newHeadPose[RZ] = roll; newHeadPose[RX] = yaw; - +#if 0 if (bEnableX) { data[TX] = newHeadPose[TX]; } - if (bEnableX) { + if (bEnableY) { data[TY] = newHeadPose[TY]; } - if (bEnableX) { + if (bEnableY) { data[TZ] = newHeadPose[TZ]; } +#endif if (bEnableYaw) { data[RX] = newHeadPose[RX]; } |