//sceneObjs[curObject].x += (x - startx)*leftrightFactor;\r
} else if ( buttonSelected == GLUT_MIDDLE_BUTTON ) {\r
// w: big/small, h: up/down\r
\r
// For big/small scaling, we map negative numbers to 0->1 and positive numbers to 1->inf\r
float diff = (x - startx);\r
//sceneObjs[curObject].x += (x - startx)*leftrightFactor;\r
} else if ( buttonSelected == GLUT_MIDDLE_BUTTON ) {\r
// w: big/small, h: up/down\r
\r
// For big/small scaling, we map negative numbers to 0->1 and positive numbers to 1->inf\r
float diff = (x - startx);\r