Fig. 15. Technically, a ray never deviates. The ray extends as a straight line to infinity. Lenses (or mirrors) do not change the ray's direction. At the lens, the light traveling along the ray changes direction. The light stops moving along the object ray and begins moving along the image ray.