X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=4467e7d6c48296f4694bcf8a1fc11bf31c255653;hp=13c796e8ae744933bbee701bacff652f45fb0eae;hb=5133cc2f5c166c8f58b8989ebfc3f42341bdc668;hpb=bc23d957879836a7485c9246601ab62534e7e83c diff --git a/scene.c b/scene.c index 13c796e..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 = -500.0; - GLdouble far = 500.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();