mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 16:13:28 +02:00
Shorten the long term average.
This commit is contained in:
parent
2191896126
commit
092f1fa4c8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue