From 74d9f5e31428ef362033a63c10b781d943c5e5a5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 13 May 2016 13:19:31 +0200 Subject: many: remove unneeded implicit type conversion double <-> float --- tracker-rift-025/ftnoir_tracker_rift_025.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tracker-rift-025') 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(&yaw, &pitch , &roll); newHeadPose[Pitch] = pitch; newHeadPose[Roll] = roll; -- cgit v1.2.3