X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=9d715791a836ecdad9c3bb7a15f46591cdfc9c26;hb=753154f71bf584f876d9e5abfd59e5d19ea448da;hp=13c796e8ae744933bbee701bacff652f45fb0eae;hpb=bc23d957879836a7485c9246601ab62534e7e83c;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index 13c796e..9d71579 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 = -500.0; - GLdouble far = 500.0; + GLdouble near = -100.0; + GLdouble far = 100.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();