diff options
Diffstat (limited to 'ftnoir_tracker_rift')
-rw-r--r-- | ftnoir_tracker_rift/ftnoir_tracker_rift.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp index 2c096c4a..769ca460 100644 --- a/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp +++ b/ftnoir_tracker_rift/ftnoir_tracker_rift.cpp @@ -88,13 +88,13 @@ bool Rift_Tracker::GiveHeadPoseData(double *data) } #endif if (bEnableYaw) { - data[RX] = newHeadPose[RX]; + data[RX] = newHeadPose[RX] * 57.295781f; } if (bEnablePitch) { - data[RY] = newHeadPose[RY]; + data[RY] = newHeadPose[RY] * 57.295781f; } if (bEnableRoll) { - data[RZ] = newHeadPose[RZ]; + data[RZ] = newHeadPose[RZ] * 57.295781f; } } return pHMD.GetPtr() != NULL; |