Convert to use cam_calc_geometry().