If, for example, there were air above the line and glass below it, and if a ray traveled from A to (when I say traveled, let it be understood that I mean tended to travel or pressed from A toward C), it would not travel toward, but would be diverted toward Fupon entering the glass from the air.