From: Ash Tyndall Date: Tue, 18 Oct 2011 12:21:43 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=5133cc2f5c166c8f58b8989ebfc3f42341bdc668;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index b46f24f..4467e7d 100644 --- a/scene.c +++ b/scene.c @@ -484,8 +484,8 @@ void makeMenu() { * @param h New height */ void windowReshape(int w, int h) { - GLdouble near = -200.0; - GLdouble far = 200.0; + GLdouble near = -50.0; + GLdouble far = 50.0; glViewport(0, 0, (GLsizei) w, (GLsizei) h); glMatrixMode(GL_PROJECTION); @@ -641,7 +641,7 @@ void display() { glPushMatrix(); //glTranslatef(0.0, 0.0, 0.0); - glutWireTeapot(30); // Draw teapot for test + glutWireTeapot(1); // Draw teapot for test glPopMatrix(); glPushMatrix();