From 65f3d838461588453f40f54c884a48bc0a44e8fc Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Fri, 21 Oct 2011 10:59:28 +0800 Subject: [PATCH] --- scene.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scene.c b/scene.c index 34b7462..2f45633 100644 --- a/scene.c +++ b/scene.c @@ -301,6 +301,7 @@ void display() { GLfloat zcoord = 5.0 + (zoomFactor*0.2); if ( zcoord < 0.0 ) { zcoord = 0.0; + zoomFactor = 0.0; } gluLookAt( -- 2.20.1