This commit is contained in:
Jeffrey Ventrella 2013-05-22 18:31:22 -07:00
parent 82af516471
commit 83c12ae9af

View file

@ -140,9 +140,9 @@ void Head::calculateGeometry(bool lookingInMirror) {
} }
_orientation.setToIdentity(); _orientation.setToIdentity();
_orientation.roll (_bodyRotation.z + roll );
_orientation.pitch(_bodyRotation.x + pitch); _orientation.pitch(_bodyRotation.x + pitch);
_orientation.yaw (_bodyRotation.y + yaw ); _orientation.yaw (_bodyRotation.y + yaw );
//_orientation.roll (_bodyRotation.z + roll );
//calculate the eye positions //calculate the eye positions
_leftEyePosition = _position _leftEyePosition = _position