mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
Sign fix.
This commit is contained in:
parent
b17f6a1c66
commit
a557dc3ae2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue