Move view model calculations to the camera class