Created rotateTemp() in Object.h and integrated camera class in main.cpp