From 9e42797448ba7fc0349cc275baec55230e595a26 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Fri, 21 Oct 2011 20:02:33 +0800 Subject: [PATCH] --- scene.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scene.c b/scene.c index e2e8cd2..c62831e 100644 --- a/scene.c +++ b/scene.c @@ -284,7 +284,8 @@ void motion(int x, int y) { if ( buttonSelected == GLUT_LEFT_BUTTON ) { // w: rotate, h: zoom - zoom += (y - starty); + zoom += (y - starty); + printf("zoom is %f\n", zoom); } else if ( buttonSelected == GLUT_MIDDLE_BUTTON ) { // w: rotate, h: tilt camAngle += (y - starty); -- 2.20.1