Sign fix.

This commit is contained in:
Andrzej Kapolka 2013-11-26 14:31:19 -08:00
parent b17f6a1c66
commit a557dc3ae2

View file

@ -152,7 +152,7 @@ void OculusManager::display(Camera& whichCamera) {
glVertex2f(0, leftEyeParams.VP.h);
glEnd();
_program.setUniformValue(_lensCenterLocation, 0.5 + (0.5 + distortionConfig.XCenterOffset * 0.5) * 0.5, 0.5);
_program.setUniformValue(_lensCenterLocation, 0.5 + (0.5 - distortionConfig.XCenterOffset * 0.5) * 0.5, 0.5);
_program.setUniformValue(_screenCenterLocation, 0.75, 0.5);
glBegin(GL_QUADS);