In all ray diagrams, all angles of incidence and refraction are measured between the ray and the normal. Watch this video for a practical demonstration of measuring the refractive index of glass.