X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=46e4f934d3de5bfe2109a6a8bbed0099c23c3c77;hp=749c2aae90fe3b9b3bc631b1d58fc45c1d62fbf8;hb=6217adf646b2f5143642d89e0f096be9dcded20f;hpb=27465ced4249899ef9067cf878f3aaddff4291e0 diff --git a/scene.c b/scene.c index 749c2aa..46e4f93 100644 --- a/scene.c +++ b/scene.c @@ -123,11 +123,11 @@ GLfloat angle = -150; /* in degrees */ GLfloat angle2 = 30; /* in degrees */ /* Near and far parameters */ -GLfloat near = -10; -GLfloat far = 10; +GLfloat near = -20; +GLfloat far = 20; /* Zoom factor for mouse movements */ -GLfloat zoomFactor = 1.0; +GLfloat zoomFactor = 2.0; /* Recursion level for floor drawing */ int drawFloorRecurse = 5; @@ -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();