From 092f1fa4c87dce24f879ca9266ad3c744944c2b6 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Tue, 5 Nov 2013 14:10:53 -0800 Subject: [PATCH] Shorten the long term average. --- interface/src/devices/Faceshift.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/devices/Faceshift.cpp b/interface/src/devices/Faceshift.cpp index 4f9670ac50..9a45810cbe 100644 --- a/interface/src/devices/Faceshift.cpp +++ b/interface/src/devices/Faceshift.cpp @@ -68,7 +68,7 @@ void Faceshift::update() { (_eyeGazeLeftPitch + _eyeGazeRightPitch) / 2.0f, (_eyeGazeLeftYaw + _eyeGazeRightYaw) / 2.0f, 0.0f)))); // compute and subtract the long term average - const float LONG_TERM_AVERAGE_SMOOTHING = 0.9999f; + const float LONG_TERM_AVERAGE_SMOOTHING = 0.999f; if (!_longTermAverageInitialized) { _longTermAverageEyePitch = eulers.x; _longTermAverageEyeYaw = eulers.y;