Khoa Dang #17638455 CS112 - Prof. Majumder Winter 2007 Programming Assignment 3 Report - my function that makes the spinner and revolver move is: void moveSpinnerRevolver() { angle = (angle + 1); rangle = (rangle + 1); if ((angle > 360) || (rangle > 360)) { angle = 0; rangle = 0; } Sleep(20); glutPostRedisplay(); } - Inside main.cpp, one line is added: glutIdleFunc(moveSpinnerRevolver); This is to trigger the function rotate the spinner and revolver. - in "inputModule.cpp": changes made to function "mouseButtHandler" to keep the viewing angles updated when the user uses mouse to move the 3D models e.g.: case GLUT_LEFT_BUTTON: if(state == GLUT_DOWN) { motionMode = 1; // Rotate object startX = x; startY = y; rstartX = x; rstartY = y; } break; ... similar changes for other mouse button clicking