(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index 0f66042..9d3594e 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -556,15 +556,17 @@ 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
-      glutSolidTeapot(1000); // Draw teapot for test\r
+      glutSolidTeapot(10); // Draw teapot for test\r
     glPopMatrix();\r
 \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