//Near TODO4: //TODO4 Draw the 12 tick marks. You will need to loop and adjust the transform glm::mat4 rot = glm::rotate(glm::mat4(1.0f), time, glm::vec3(0, 0, 1)); glUniformMatrix4fv(transformSlot, 1, GL_FALSE, &rot[0][0]); glDrawArrays(GL_LINES, model.getObjectStart(1), model.getObjectSize(1)); //Near TODO5: (this makes it so the small hand doesn't move) //TODO5 Rotate the small hand, it should go slower than the long hand glUniformMatrix4fv(transformSlot, 1, GL_FALSE, &base[0][0]); glDrawArrays(GL_LINES, model.getObjectStart(2), model.getObjectSize(2)); //Near TODO6: //TODO6 Rotate the large hand glm::mat4 tran = glm::translate(glm::mat4(1.0f), glm::vec3(time*0.1, time*0.1, 0)); glm::mat4 funny = tran * rot; glUniformMatrix4fv(transformSlot, 1, GL_FALSE, &funny[0][0]); glDrawArrays(GL_LINES, model.getObjectStart(3), model.getObjectSize(3)); checkGLError("draw");