adjusts to function renaming in FieldOfView

This commit is contained in:
tosh 2013-03-25 10:50:45 +01:00
parent 721f4fd3b4
commit 7d32eeb20a

View file

@ -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()));