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

diff --git a/scene.c b/scene.c
index 260169d..80c1ee9 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -265,6 +265,12 @@ void display() {
     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
+   gluPerspective(\r
+    60.0,  /* field of view in degree */\r
+     1.0,  /* aspect ratio */\r
+    nearClip,  /* Z near */\r
+     farClip   /* Z far */\r
+    );\r
 \r
 \r
   // **NOTE: Currently this rotation function is all that moves the camera off\r

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