X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=inline;f=scene.c;h=395a7256cc797c4023ceb1a02e7da2d0229f3ce6;hb=45d3d32957a9172077e05ab344c5607bde87447c;hp=2730c4f37f507a1500fe9b4e657ba82c66b5de9d;hpb=87b1e4d4ecf968eb100b8d93f929c0574c7f08d0;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index 2730c4f..395a725 100644 --- a/scene.c +++ b/scene.c @@ -323,8 +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(15.0, 0.0, 1.0, 0.0); + glRotatef(40.0, 1.0, 0.0, 0.0); /* Reposition the light source. */ lightPosition[0] = 12*cos(lightAngle); @@ -349,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();