(no commit message)
authorAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 03:56:59 +0000 (11:56 +0800)
committerAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 03:56:59 +0000 (11:56 +0800)
globals.c
scene.c

index 03d2f6f..11b524d 100644 (file)
--- a/globals.c
+++ b/globals.c
@@ -60,8 +60,8 @@ GLfloat near = -15;
 GLfloat far = 15;
 
 /* Near and far clipping planes - calculates clipping planes */
 GLfloat far = 15;
 
 /* Near and far clipping planes - calculates clipping planes */
-GLfloat nearClip = -200;
-GLfloat farClip = 200;
+GLfloat nearClip = -500;
+GLfloat farClip = 500;
 
 /* Zoom factor for mouse movements */
 GLfloat zoomFactor = 1.0;
 
 /* Zoom factor for mouse movements */
 GLfloat zoomFactor = 1.0;
diff --git a/scene.c b/scene.c
index 9c6d0c4..115e2f7 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -289,7 +289,7 @@ void display() {
   glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);\r
   glLoadIdentity();\r
   gluLookAt(\r
   glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);\r
   glLoadIdentity();\r
   gluLookAt(\r
-    0.0, 0.0, 10.0,  /* eye is at (x,y,z) */\r
+    0.0, 0.0, 30.0,  /* eye is at (x,y,z) */\r
     0.0, 0.0,  0.0,  /* center is at (x,y,z) */\r
     0.0, -1.0,  0.0   /* up is in postivie Y direction */\r
     );\r
     0.0, 0.0,  0.0,  /* center is at (x,y,z) */\r
     0.0, -1.0,  0.0   /* up is in postivie Y direction */\r
     );\r

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