Light propagation and geometry