summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-27 04:20:29 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-27 04:20:29 +0200
commit9168374841f69bb9edd996d7f99759629d98a0ea (patch)
tree5c33f85d5a6edb422bbd1333b0466d4da32589d6 /ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
parentc557231b34a5c536a3fcb4f4a21c47d06b3a1ade (diff)
Rift: UI fixes
Diffstat (limited to 'ftnoir_tracker_rift/ftnoir_tracker_rift.cpp')
-rw-r--r--ftnoir_tracker_rift/ftnoir_tracker_rift.cpp7
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];
}