mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 21:12:53 +02:00
adjusts to function renaming in FieldOfView
This commit is contained in:
parent
721f4fd3b4
commit
7d32eeb20a
1 changed files with 1 additions and 1 deletions
|
@ -853,7 +853,7 @@ void reshape(int width, int height)
|
||||||
glMatrixMode(GL_PROJECTION); //hello
|
glMatrixMode(GL_PROJECTION); //hello
|
||||||
#ifdef USE_FOV
|
#ifdef USE_FOV
|
||||||
fov.setResolution(width, height)
|
fov.setResolution(width, height)
|
||||||
.setFrustum(glm::vec3(-0.5f,-0.5f,-50.0f), glm::vec3(0.5f, 0.5f, 0.1f) )
|
.setBounds(glm::vec3(-0.5f,-0.5f,-50.0f), glm::vec3(0.5f, 0.5f, 0.1f) )
|
||||||
.setPerspective(0.78f);
|
.setPerspective(0.78f);
|
||||||
|
|
||||||
glLoadMatrixf(glm::value_ptr(fov.getViewerScreenXform()));
|
glLoadMatrixf(glm::value_ptr(fov.getViewerScreenXform()));
|
||||||
|
|
Loading…
Reference in a new issue