X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=395a7256cc797c4023ceb1a02e7da2d0229f3ce6;hp=f53d92f365932adfead0bdbd6d78e00ed33d15ae;hb=45d3d32957a9172077e05ab344c5607bde87447c;hpb=bb4992ad1302ba26e80fbc92af46e57ab47cc9bb diff --git a/scene.c b/scene.c index f53d92f..395a725 100644 --- a/scene.c +++ b/scene.c @@ -308,7 +308,7 @@ void display() { } gluPerspective( - 60.0, + 75.0, aspect, 0.1, 200 @@ -323,7 +323,7 @@ void display() { 0.0, 10.0, 0.0 /* up is in postivie Y direction */ ); - glRotatef(50.0, 1.0, 0.0, 0.0); + glRotatef(40.0, 1.0, 0.0, 0.0); /* Reposition the light source. */ lightPosition[0] = 12*cos(lightAngle); @@ -348,7 +348,7 @@ void display() { glPushMatrix(); glTranslatef(0.0, 0.5, 0.0); // **NOTE: Teapot currently does not rest on surface glColor3f(0.0, 0.0, 0.0); - glFrontFace(GL_CW); + glFrontFace(GL_CW); // The teapot does not obey the right-hand rule glutSolidTeapot(1); glFrontFace(GL_CCW); glPopMatrix();