From c49413662cac09c64c0daf2916786c35b47423d5 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Tue, 18 Oct 2011 15:38:40 +0800 Subject: [PATCH] --- scene.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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(); -- 2.20.1