Calculates direction of refracted ray where this is incoming ray, n is normal vector and r is refractive ratio
See Implementation
Calculates direction of refracted ray where this is incoming ray, n is normal vector and r is refractive ratio