mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 01:56:54 +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);
|
glVertex2f(0, leftEyeParams.VP.h);
|
||||||
glEnd();
|
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);
|
_program.setUniformValue(_screenCenterLocation, 0.75, 0.5);
|
||||||
|
|
||||||
glBegin(GL_QUADS);
|
glBegin(GL_QUADS);
|
||||||
|
|
Loading…
Reference in a new issue