added comments to camera.lua