Merge pull request #373 from Ventrella/master

reversed head gyros
This commit is contained in:
Philip Rosedale 2013-05-21 15:31:51 -07:00
commit 03675cab9f

View file

@ -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