From 0bbce418109732b9b7a61040b5d8a409ad90f977 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sat, 22 Oct 2011 09:37:50 +0800 Subject: [PATCH] --- scene.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scene.c b/scene.c index b4795f1..9e3cb2d 100644 --- a/scene.c +++ b/scene.c @@ -311,8 +311,7 @@ void motion(int x, int y) { float scaling; if ( diff < 0 ) { - scaling = (x - (float)-height)/(0 - (float)-height); - printf("Diff is %f, Scaling by %f on all axii\n", diff, scaling); + scaling = (diff - (float)-height)/(0 - (float)-height); } else { scaling = diff; } -- 2.20.1