From: Ash Tyndall Date: Sat, 22 Oct 2011 02:03:20 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=ab838687c0439bc042cf3818fd7dcba9c23963a4;p=atyndall%2Fcits2231.git --- 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]); }