updated camera.cpp