From fdc6eb90410f851b32b6d84135791c5df51393d9 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sat, 22 Oct 2011 10:28:39 +0800 Subject: [PATCH] --- scene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene.c b/scene.c index b684583..6cf7cf5 100644 --- a/scene.c +++ b/scene.c @@ -308,7 +308,7 @@ void motion(int x, int y) { // For big/small scaling, we map negative numbers to 0->1 and positive numbers to 1->inf float diff = (x - startx); - float scaling = ( diff + (float)height ) / ( (float)height ); + float scaling = ( diff + (float)height/bigsmallFactor ) / ( (float)height/bigsmallFactor ); sceneObjs[curObject].scale[0] *= scaling; sceneObjs[curObject].scale[1] *= scaling; -- 2.20.1