In the geometric-optics approximation, light rays travel in straight lines through a uniform material such as air, water or glass. Diffraction is neglected; this works well when the relevant sizes are much larger than a wavelength. We model a thin beam as a ray: an arrow showing the direction energy flows.