X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=7d5456fab079adcea1db91de6b8b74542e6b621d;hp=6d47393250a084c9a7075613fa8c04882d1cd8a1;hb=84a44257a71818d30cf2bbdea195a0b7d246aa83;hpb=5e6a932345dfe95c3d2b289053b93abfb5c5d4fb diff --git a/scene.c b/scene.c index 6d47393..7d5456f 100644 --- a/scene.c +++ b/scene.c @@ -305,7 +305,8 @@ void motion(int x, int y) { //sceneObjs[curObject].x += (x - startx)*leftrightFactor; } else if ( buttonSelected == GLUT_MIDDLE_BUTTON ) { // w: big/small, h: up/down - float scaling = (y - starty)*bigsmallFactor; + float scaling = (y - starty);//*bigsmallFactor; + printf("Scaling by %f on all axii\n", scaling); sceneObjs[curObject].scale[0] += scaling; sceneObjs[curObject].scale[1] += scaling; sceneObjs[curObject].scale[2] += scaling;