[][src]Function directx_math::XMVector3AngleBetweenNormals

pub fn XMVector3AngleBetweenNormals(N1: FXMVECTOR, N2: FXMVECTOR) -> FXMVECTOR

Computes the radian angle between two normalized 3D vectors.

Parameters

N1 Normalized 3D vector.

N2 Normalized 3D 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-XMVector3AngleBetweenNormals