Closed daanmichiels closed 10 years ago
The camera should not bind the matrix to the OpenGL state. It should return the projection and view matrix separately, and the main loop should pass the projection matrix to the shader, as well as a premultiplied modelview matrix.
Replaced use by _getprojection and _getview.
The camera should not bind the matrix to the OpenGL state. It should return the projection and view matrix separately, and the main loop should pass the projection matrix to the shader, as well as a premultiplied modelview matrix.