From: Ash Tyndall Date: Tue, 18 Oct 2011 07:40:22 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=779017aa98e939a06fa38c94dd5f7fe4c0a6833e --- diff --git a/scene.c b/scene.c index 40293a2..93c9fb7 100644 --- a/scene.c +++ b/scene.c @@ -556,7 +556,8 @@ void display() { drawFloor(); glDisable(GL_BLEND); - glPushMatrix(); + glPushMatrix(); + glLoadIdentity(); glColor3f(1.0, 0.0, 1.0); glTranslatef(-8.0, 0.0, -10.0); @@ -565,6 +566,7 @@ void display() { glPushMatrix(); glDisable(GL_LIGHTING); + //glLoadIdentity(); glColor3f(1.0, 1.0, 1.0); /* Draw a yellow ball at the light source. */