X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=424835fd9507485f315f74dec6f08fd52d8d9c63;hp=164d1001eb6f8d01d86635b8edeef31b56c4ed7d;hb=5b32bc535df214143df62b16705c365cfdd31125;hpb=05f50c2a687dbe49b89e730d8636b12d5d8543c9 diff --git a/scene.c b/scene.c index 164d100..424835f 100644 --- a/scene.c +++ b/scene.c @@ -123,7 +123,7 @@ GLfloat angle = -150; /* in degrees */ GLfloat angle2 = 30; /* in degrees */ /* Near and far parameters */ -GLfloat near = -10; +GLfloat near = -20; GLfloat far = 20; /* Zoom factor for mouse movements */ @@ -665,7 +665,7 @@ void display() { // Draw teapot for a test object glPushMatrix(); - glTranslatef(0.0, 0.0, 0.0); // **NOTE: Teapot does not rest on surface + glTranslatef(0.0, 0.5, 0.0); // **NOTE: Teapot does not rest on surface glColor3f(0.5, 0.5, 0.5); glutSolidTeapot(1); glPopMatrix();