(no commit message)
authorAsh Tyndall <[email protected]>
Tue, 18 Oct 2011 07:40:22 +0000 (15:40 +0800)
committerAsh Tyndall <[email protected]>
Tue, 18 Oct 2011 07:40:22 +0000 (15:40 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 40293a2..93c9fb7 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -556,7 +556,8 @@ void display() {
     drawFloor();\r
     glDisable(GL_BLEND);\r
 \r
-    glPushMatrix(); \r
+    glPushMatrix();\r
+      glLoadIdentity();\r
       glColor3f(1.0, 0.0, 1.0);\r
       glTranslatef(-8.0, 0.0, -10.0);\r
 \r
@@ -565,6 +566,7 @@ void display() {
 \r
     glPushMatrix();\r
       glDisable(GL_LIGHTING);\r
+      //glLoadIdentity();\r
       glColor3f(1.0, 1.0, 1.0);\r
 \r
       /* Draw a yellow ball at the light source. */\r

UCC git Repository :: git.ucc.asn.au