added some comments to camera.lua