X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=c322eb85def36ae01a81500e40bff77fae8cb5d8;hb=916773443101d71d573d82c5e699a1c94b9cb2e4;hp=3216d15abf744044db4e593fd65e0c42741f9225;hpb=f3ffdbeff05ea19ba064c32fa38c00aaa0482666;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index 3216d15..c322eb8 100644 --- a/scene.c +++ b/scene.c @@ -184,15 +184,6 @@ void makeMenu() { */ void windowReshape(int w, int h) { glViewport(0, 0, (GLsizei) w, (GLsizei) h); - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - if (w <= h) - glFrustum(-near, far, -near*((GLfloat) h / (GLfloat) w), - far*((GLfloat) h / (GLfloat) w), nearClip, farClip); - else - glFrustum(-near*((GLfloat) w / (GLfloat) h), - far*((GLfloat) w / (GLfloat) h), near, far, nearClip, farClip); - glMatrixMode(GL_MODELVIEW); } /**