From: Ash Tyndall Date: Sat, 22 Oct 2011 01:57:43 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=1692482e406e8d640f949047b9caa8edbc73fa59;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 72d08d0..3a52435 100644 --- a/scene.c +++ b/scene.c @@ -317,9 +317,9 @@ void motion(int x, int y) { } 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; + sceneObjs[curObject].scale[0] *= scaling; + sceneObjs[curObject].scale[1] *= scaling; + sceneObjs[curObject].scale[2] *= scaling; starty = y; }