But when they obliquely meet the surface of glass, they undergo refraction there and are diverted toward the perpendicular to that surface; and this refraction is greater as the bodies they enter are heavier or denser than those they are leaving.