small fix

This commit is contained in:
Jeffrey Ventrella 2013-05-18 14:43:23 -07:00
parent 64392d0a78
commit bbeac7701a

View file

@ -63,17 +63,17 @@ Head::Head() :
_eyeContact(1), _eyeContact(1),
_browAudioLift(0.0f), _browAudioLift(0.0f),
_gravity(0.0f, -1.0f, 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[0] = -30;
_eyebrowPitch[1] = -30; _eyebrowPitch[1] = -30;
_eyebrowRoll [0] = 20; _eyebrowRoll [0] = 20;
_eyebrowRoll [1] = -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; + _orientation.getFront() * frontShift;
} }
void Head::setLooking(bool looking) { void Head::setLooking(bool looking) {
_lookingAtSomething = looking; _lookingAtSomething = looking;
@ -330,7 +331,6 @@ void Head::render(bool lookingInMirror) {
glPopMatrix(); glPopMatrix();
//a new version of eyeballs that has the ability to look at specific targets in the world (algo still not finished yet)
renderEyeBalls(); renderEyeBalls();
/* /*