summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_rift
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-07 22:58:40 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-07 22:58:40 +0200
commitfacb42e5b7bcf919cf3ef67369683a20ceef2aea (patch)
tree7e1c4784aabda7d9a66f09e9e76b9845f78dbed4 /ftnoir_tracker_rift
parentc3739b878a02d0c78a1805d403d15d99747b941c (diff)
Flip yaw too for rift
Reported-by: dyvoid through reddit
Diffstat (limited to 'ftnoir_tracker_rift')
-rw-r--r--ftnoir_tracker_rift/ftnoir_tracker_rift.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
index c43b963a..8b24dd97 100644
--- a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
+++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp
@@ -56,7 +56,7 @@ void Rift_Tracker::GetHeadPoseData(double *data)
old_yaw=yaw;
}
if (s.bEnableYaw)
- data[Yaw] = yaw * 57.295781;
+ data[Yaw] = yaw * -57.295781;
if (s.bEnablePitch)
data[Pitch] = pitch * -57.295781;
if (s.bEnableRoll)