(no commit message)
authorAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 02:59:28 +0000 (10:59 +0800)
committerAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 02:59:28 +0000 (10:59 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 34b7462..2f45633 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -301,6 +301,7 @@ void display() {
   GLfloat zcoord = 5.0 + (zoomFactor*0.2);\r
   if ( zcoord < 0.0 ) {\r
     zcoord = 0.0;\r
+    zoomFactor = 0.0;\r
   }\r
 \r
   gluLookAt(\r

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