Sheep, goats, and a few other mammals have rectangular pupils. It gives them a relatively poor depth perception, but allows them a roughly 300 degree field of vision.
Slit style eyes (seen in cats and reptiles) construct to allow for a much greater range of lighting conditions.
Latest Answers