X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=9889ce19522512c233534daf13249af75b5743cc;hp=9c6d0c4d690359025dc245a7508a0def863b6259;hb=153f05e2a261811c347b6b9bd9057321ebb4cc9f;hpb=bf3cf131a6c4b18ca07a2a85156c063ff3bdcd04 diff --git a/scene.c b/scene.c index 9c6d0c4..9889ce1 100644 --- a/scene.c +++ b/scene.c @@ -289,7 +289,7 @@ void display() { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glLoadIdentity(); gluLookAt( - 0.0, 0.0, 10.0, /* eye is at (x,y,z) */ + 0.0, 0.0, 30.0, /* eye is at (x,y,z) */ 0.0, 0.0, 0.0, /* center is at (x,y,z) */ 0.0, -1.0, 0.0 /* up is in postivie Y direction */ ); @@ -322,7 +322,7 @@ void display() { glPushMatrix(); glTranslatef(0.0, 1.0, 0.0); // **NOTE: Teapot does not rest on surface glColor3f(0.5, 0.5, 0.5); - glutSolidTeapot(1); + glutSolidTeapot(100); glPopMatrix(); // Draw a white ball over the light source