(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index aa26ba1..c579335 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -614,9 +614,8 @@ void display() {
 \r
     glPushMatrix();\r
     \r
-      //glTranslatef(0.0, 0.0, 0.0);\r
\r
-      glutSolidTeapot(30); // Draw teapot for test\r
+      glTranslatef(0.0, 0.0, 0.0);\r
+      glutWireTeapot(30); // Draw teapot for test\r
     glPopMatrix();\r
 \r
     glPushMatrix();\r
@@ -645,7 +644,7 @@ void init() {
   gluPerspective(\r
      60.0,  /* field of view in degree */\r
       1.0,  /* aspect ratio */ \r
-      -900.0,  /* Z near */\r
+      0.0,  /* Z near */\r
     900.0   /* Z far */\r
     );    \r
 \r
@@ -692,7 +691,7 @@ int main(int argc, char **argv) {
   glDepthFunc(GL_LEQUAL);  // the type\r
   glEnable(GL_CULL_FACE);\r
   glEnable(GL_TEXTURE_2D);\r
-  glLineWidth(3.0);\r
+  glLineWidth(1.0);\r
 \r
   glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);\r
 \r

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