summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii-eyex/tobii-eyex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-tobii-eyex/tobii-eyex.cpp')
-rw-r--r--tracker-tobii-eyex/tobii-eyex.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tracker-tobii-eyex/tobii-eyex.cpp b/tracker-tobii-eyex/tobii-eyex.cpp
index c0547c08..eb5aae42 100644
--- a/tracker-tobii-eyex/tobii-eyex.cpp
+++ b/tracker-tobii-eyex/tobii-eyex.cpp
@@ -279,9 +279,9 @@ void tobii_eyex_tracker::data(double* data)
using std::fabs;
- static constexpr double max_yaw = 45, max_pitch = 30;
- static constexpr double c_yaw = 3;
- static constexpr double c_pitch = c_yaw * max_pitch / max_yaw;
+ constexpr double max_yaw = 45, max_pitch = 30;
+ constexpr double c_yaw = 3;
+ constexpr double c_pitch = c_yaw * max_pitch / max_yaw;
const double yaw_delta = gain(fabs(x_)) * signum(x_) * c_yaw * dt;
const double pitch_delta = gain(fabs(y_)) * signum(y_) * c_pitch * dt;