Text this: Equations of motion for rays in a Snell's law medium.