summaryrefslogtreecommitdiffhomepage
path: root/tracker-rift-025
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-rift-025')
-rw-r--r--tracker-rift-025/ftnoir_tracker_rift_025.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tracker-rift-025/ftnoir_tracker_rift_025.cpp b/tracker-rift-025/ftnoir_tracker_rift_025.cpp
index 9588aaf8..4b938763 100644
--- a/tracker-rift-025/ftnoir_tracker_rift_025.cpp
+++ b/tracker-rift-025/ftnoir_tracker_rift_025.cpp
@@ -67,9 +67,9 @@ void Rift_Tracker::data(double *data)
Quatf hmdOrient = pSFusion->GetOrientation();
double newHeadPose[6];
- float yaw = 0.0f;
- float pitch = 0.0f;
- float roll = 0.0f;
+ float yaw = 0;
+ float pitch = 0;
+ float roll = 0;
hmdOrient.GetEulerAngles<Axis_Y, Axis_X, Axis_Z>(&yaw, &pitch , &roll);
newHeadPose[Pitch] = pitch;
newHeadPose[Roll] = roll;