From ab838687c0439bc042cf3818fd7dcba9c23963a4 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sat, 22 Oct 2011 10:03:20 +0800 Subject: [PATCH] --- scene.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scene.c b/scene.c index 1b7c988..3f2c2ab 100644 --- a/scene.c +++ b/scene.c @@ -318,10 +318,11 @@ void motion(int x, int y) { if ( scaling != 0 ) { - printf("Diff is %f, Scaling by %f on all axii\n", diff, scaling); + sceneObjs[curObject].scale[0] *= scaling; sceneObjs[curObject].scale[1] *= scaling; sceneObjs[curObject].scale[2] *= scaling; + printf("Diff is %f, Scaling by %f on all axii\n", diff, sceneObjs[curObject].scale[0]); } -- 2.20.1