[][src]Function directx_math::XMVector4AngleBetweenVectors

pub fn XMVector4AngleBetweenVectors(V1: FXMVECTOR, V2: FXMVECTOR) -> XMVECTOR

Compute the radian angle between two 4D vectors.

Parameters

V1 4D vector.

V2 4D vector.

Return value

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

Remarks

If V1 and V2 are normalized 4D vectors, it is faster to use XMVector4AngleBetweenNormals.

Reference

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