pub fn refract(y2: f64, sw: String, pr: f64, tr: f64) -> f64
Calculate effects of refraction.
Original macro name: Refract