diff options
Diffstat (limited to 'tracker-rift-025')
-rw-r--r-- | tracker-rift-025/ftnoir_tracker_rift_025.cpp | 6 |
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 257b4502..92ae36ea 100644 --- a/tracker-rift-025/ftnoir_tracker_rift_025.cpp +++ b/tracker-rift-025/ftnoir_tracker_rift_025.cpp @@ -91,8 +91,8 @@ void rift_tracker_025::data(double *data) { Quatf rot = pSFusion->GetOrientation(); - static constexpr float c_mult = 8; - static constexpr float c_div = 1/c_mult; + constexpr float c_mult = 8; + constexpr float c_div = 1/c_mult; Vector3f axis; float angle; @@ -115,7 +115,7 @@ void rift_tracker_025::data(double *data) old_yaw = yaw_; } - static constexpr double r2d = 180 / M_PI; + constexpr double r2d = 180 / M_PI; data[Yaw] = yaw_ * r2d; data[Pitch] = double(pitch) * r2d; |