diff options
Diffstat (limited to 'tracker-tobii-eyex/head-tracking.cpp')
-rw-r--r-- | tracker-tobii-eyex/head-tracking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-tobii-eyex/head-tracking.cpp b/tracker-tobii-eyex/head-tracking.cpp index 8973293d..77394f11 100644 --- a/tracker-tobii-eyex/head-tracking.cpp +++ b/tracker-tobii-eyex/head-tracking.cpp @@ -5,7 +5,7 @@ real tobii_eyex_tracker::gain(real x) { // simple sigmoid - x = clamp(x * 12 - 6, -6, 6); + x = clamp(x * 6, -6, 6); x = 1 / (1 + exp(-x)); x = x * 2 - 1; return clamp(x, -1, 1); |