X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=a99a692ddb15ed04459b4c93f5d55ccb708d9c1c;hp=de3a2f7b91e45d6a7fde82df66c4f7a9ab4b3a95;hb=db7880146bfa1b0afc00228bf18eddf9770d315e;hpb=832b617a2019cb59220227dfd563808b83b3b6ef diff --git a/scene.c b/scene.c index de3a2f7..a99a692 100644 --- a/scene.c +++ b/scene.c @@ -124,7 +124,7 @@ GLfloat angle2 = 30; /* in degrees */ /* Near and far parameters */ GLfloat near = -10; -GLfloat far = 10; +GLfloat far = 20; /* Zoom factor for mouse movements */ GLfloat zoomFactor = 1.0; @@ -665,9 +665,9 @@ void display() { // Draw teapot for a test object glPushMatrix(); - glTranslatef(0.0, 1.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); - glutWireTeapot(1); + glutSolidTeapot(1); glPopMatrix(); // Draw a white ball over the light source