From: Ash Tyndall Date: Tue, 18 Oct 2011 07:38:40 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c49413662cac09c64c0daf2916786c35b47423d5;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 89153a3..10c0bde 100644 --- a/scene.c +++ b/scene.c @@ -556,15 +556,11 @@ void display() { drawFloor(); glDisable(GL_BLEND); - glPushMatrix(); - glDisable(GL_LIGHTING); - + glPushMatrix(); glColor3f(1.0, 0.0, 1.0); - glTranslatef(-8, 0, -10.0); + glTranslatef(-8.0, 0.0, -10.0); - glutSolidTeapot(1); // Draw teapot for test - - glEnable(GL_LIGHTING); + glutSolidTeapot(0.5); // Draw teapot for test glPopMatrix(); glPushMatrix();