X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=27fc5474f8b9d08e2769ff05526103c236d8aece;hp=3f2c2ab4e235d68041db566e04aa5e1b014434ce;hb=2090fa97207b7008eaddbab184478b1720e5fad1;hpb=ab838687c0439bc042cf3818fd7dcba9c23963a4 diff --git a/scene.c b/scene.c index 3f2c2ab..27fc547 100644 --- a/scene.c +++ b/scene.c @@ -313,7 +313,7 @@ void motion(int x, int y) { if ( diff < 0 ) { scaling = (diff - -((float)height/2))/(0 - -((float)height/2)); } else { - scaling = diff; + scaling = pow(1.1, diff); } if ( scaling != 0 ) {