From bbeac7701ae825d6d16416d28013414176de6624 Mon Sep 17 00:00:00 2001 From: Jeffrey Ventrella Date: Sat, 18 May 2013 14:43:23 -0700 Subject: [PATCH] small fix --- interface/src/Head.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/interface/src/Head.cpp b/interface/src/Head.cpp index ed0f9dba87..3b751651b2 100644 --- a/interface/src/Head.cpp +++ b/interface/src/Head.cpp @@ -63,17 +63,17 @@ Head::Head() : _eyeContact(1), _browAudioLift(0.0f), _gravity(0.0f, -1.0f, 0.0f), - _returnSpringScale(1.0f) + _lastLoudness(0.0f), + _averageLoudness(0.0f), + _audioAttack(0.0f), + _returnSpringScale(1.0f), + _bodyYaw(0.0f), + _eyeContactTarget(LEFT_EYE) { _eyebrowPitch[0] = -30; _eyebrowPitch[1] = -30; - _eyebrowRoll [0] = 20; + _eyebrowRoll [0] = 20; _eyebrowRoll [1] = -20; - _bodyYaw = 0.0f; - _audioAttack = 0.0f; - _averageLoudness = 0.0f; - _lastLoudness = 0.0f; - _eyeContactTarget = LEFT_EYE; } @@ -224,6 +224,7 @@ void Head::updateEyePositions() { + _orientation.getFront() * frontShift; } + void Head::setLooking(bool looking) { _lookingAtSomething = looking; @@ -330,7 +331,6 @@ void Head::render(bool lookingInMirror) { glPopMatrix(); - //a new version of eyeballs that has the ability to look at specific targets in the world (algo still not finished yet) renderEyeBalls(); /*