This law is obeyed twice in the formation of a rainbow. The surface of a water droplet is smooth but curved. When it reflects light, it behaves like an infinite number of small, flat mirrors, each of which obeys the law of reflection. See right.
The law of reflection is also obeyed at the rear of the water drop when total internal reflection occurs.