From: Ash Tyndall Date: Tue, 18 Oct 2011 07:39:33 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=0585cfa78dd72f19991be6cf3b31062e4c9face2 --- diff --git a/scene.c b/scene.c index 0f66042..add2b73 100644 --- a/scene.c +++ b/scene.c @@ -556,14 +556,16 @@ void display() { drawFloor(); glDisable(GL_BLEND); - glPushMatrix(); + glPushMatrix(); + glLoadIdentity(); glColor3f(1.0, 0.0, 1.0); glTranslatef(-8.0, 0.0, -10.0); - glutSolidTeapot(1000); // Draw teapot for test + glutSolidTeapot(1); // Draw teapot for test glPopMatrix(); glPushMatrix(); + glLoadIdentity(); glDisable(GL_LIGHTING); glColor3f(1.0, 1.0, 1.0);