[−][src]Function directx_math::XMVector2Refract
pub fn XMVector2Refract(
Incident: FXMVECTOR,
Normal: FXMVECTOR,
RefractionIndex: f32
) -> XMVECTOR
Refracts an incident 2D vector across a 2D normal vector.
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVector2Refract