mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 00:33:11 +02:00
removed commented code.
This commit is contained in:
parent
36044d772c
commit
f18faf9e3e
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue