X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=scene.c;h=16bd2fb43a80e3a5f5cf54befe49d003159b1d3e;hb=a6ded21f45ac6b4c46f9358f291e3c70566ded0f;hp=21a59de7bb2007a3320d48504e7da0888ff2b047;hpb=f9bbaf8dfeeb6265356b3c7cd2d868867351fc6f;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index 21a59de..16bd2fb 100644 --- a/scene.c +++ b/scene.c @@ -640,7 +640,7 @@ void display() { glPushMatrix(); - //glTranslatef(0.0, 0.0, 0.0); + glTranslatef(0.0, 0.0, -2.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();