mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +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
|
||||
#ifdef USE_FOV
|
||||
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);
|
||||
|
||||
glLoadMatrixf(glm::value_ptr(fov.getViewerScreenXform()));
|
||||
|
|
Loading…
Reference in a new issue