From 6840ce0bbe820c02e6aa6a91a6cc83ed1861c359 Mon Sep 17 00:00:00 2001 From: Jeffrey Ventrella Date: Tue, 21 May 2013 15:09:05 -0700 Subject: [PATCH 1/2] thingy --- interface/src/Head.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/interface/src/Head.cpp b/interface/src/Head.cpp index 2dac795af1..f8e89a2c21 100644 --- a/interface/src/Head.cpp +++ b/interface/src/Head.cpp @@ -96,7 +96,6 @@ void Head::simulate(float deltaTime, bool isMine) { if (_browAudioLift > clamp) { _browAudioLift = clamp; } _browAudioLift *= 0.7f; - } From 2781a354a8fee2165b480de10bc823ee9b52783d Mon Sep 17 00:00:00 2001 From: Jeffrey Ventrella Date: Tue, 21 May 2013 15:27:03 -0700 Subject: [PATCH 2/2] reversed gyro for head (didn't know the headset was on backwards :) --- interface/src/Head.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/src/Head.cpp b/interface/src/Head.cpp index f8e89a2c21..b5afb1bd01 100644 --- a/interface/src/Head.cpp +++ b/interface/src/Head.cpp @@ -118,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