X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=a5fc5b61d02ba78d50530f3af5472518c50092bc;hp=21a59de7bb2007a3320d48504e7da0888ff2b047;hb=e48ca30778e541867597d6b491ed86a4a43081b9;hpb=f9bbaf8dfeeb6265356b3c7cd2d868867351fc6f diff --git a/scene.c b/scene.c index 21a59de..a5fc5b6 100644 --- a/scene.c +++ b/scene.c @@ -640,7 +640,7 @@ void display() { glPushMatrix(); - //glTranslatef(0.0, 0.0, 0.0); + glTranslatef(0.0, 1.0, 0.0); glutWireTeapot(1); // Draw teapot for test glPopMatrix(); @@ -650,7 +650,7 @@ void display() { /* Draw a yellow ball at the light source. */ glTranslatef(lightPosition[0], lightPosition[1], lightPosition[2]); - glutSolidSphere(1.0, 5, 5); + glutSolidSphere(1.0, 50, 50); glEnable(GL_LIGHTING); glPopMatrix();