Modes of a rotating astigmatic optical cavity