Update cameraController.js

Try not to put different of structure in the same parameter