diff options
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]; } |