From: Ash Tyndall Date: Sun, 9 Oct 2011 06:48:15 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=688788bca476f49c2a198755204816f105267a14;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 457e23d..b85ed9f 100644 --- a/scene.c +++ b/scene.c @@ -469,7 +469,7 @@ void windowReshape(int w, int h) { glLoadIdentity(); // Reset The Projection Matrix // Calculate The Aspect Ratio Of The Window - gluPerspective(45.0f,(GLfloat)w/(GLfloat)h,0.1f,100.0f); + gluPerspective(45.0f,45.0f,0.1f,100.0f); glMatrixMode(GL_MODELVIEW); // Select The Modelview Matrix glLoadIdentity(); // Reset The Modelview Matrix