removed commented code.

This commit is contained in:
Philip Rosedale 2014-10-09 16:46:06 -07:00
parent 36044d772c
commit f18faf9e3e

View file

@ -348,8 +348,6 @@ void OculusManager::display(const glm::quat &bodyOrientation, const glm::vec3 &p
whichCamera.setHmdPosition(trackerPosition);
whichCamera.setHmdRotation(orientation);
//_camera->setRotation(bodyOrientation * orientation);
//_camera->setPosition(position + trackerPosition);
// Update our camera to what the application camera is doing
_camera->setRotation(whichCamera.getRotation());
_camera->setPosition(whichCamera.getPosition());
@ -414,10 +412,7 @@ void OculusManager::display(const glm::quat &bodyOrientation, const glm::vec3 &p
renderDistortionMesh(eyeRenderPose);
glBindTexture(GL_TEXTURE_2D, 0);
// Update camera for use by rest of Interface.
//whichCamera.setPosition((_leftEyePosition + _rightEyePosition) / 2.f);
//whichCamera.setRotation(_camera->getRotation());
#endif
}