mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 04:48:54 +02:00
small fix
This commit is contained in:
parent
64392d0a78
commit
bbeac7701a
1 changed files with 8 additions and 8 deletions
|
@ -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();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue