mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:24:08 +02:00
commit
03675cab9f
1 changed files with 3 additions and 4 deletions
|
@ -96,7 +96,6 @@ void Head::simulate(float deltaTime, bool isMine) {
|
|||
if (_browAudioLift > clamp) { _browAudioLift = clamp; }
|
||||
|
||||
_browAudioLift *= 0.7f;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -119,13 +118,13 @@ void Head::setLooking(bool looking) {
|
|||
void Head::calculateGeometry(bool lookingInMirror) {
|
||||
//generate orientation directions based on Euler angles...
|
||||
|
||||
float pitch = -_pitch;
|
||||
float pitch = _pitch;
|
||||
float yaw = -_yaw;
|
||||
float roll = _roll;
|
||||
float roll = -_roll;
|
||||
|
||||
if (lookingInMirror) {
|
||||
yaw = _yaw;
|
||||
roll = -_roll;
|
||||
roll = _roll;
|
||||
}
|
||||
|
||||
_orientation.setToPitchYawRoll
|
||||
|
|
Loading…
Reference in a new issue