[][src]Function directx_math::XMVector2AngleBetweenNormals

pub fn XMVector2AngleBetweenNormals(N1: FXMVECTOR, N2: FXMVECTOR) -> XMVECTOR

Computes the radian angle between two normalized 2D vectors.

Parameters

N1 Normalized 2D vector.

N2 Normalized 2D vector.

Return value

Returns a vector. The radian angle between N1 and N2 is replicated to each of the components.

Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVector2AngleBetweenNormals