pub fn XMVector4AngleBetweenVectors(V1: FXMVECTOR, V2: FXMVECTOR) -> XMVECTOR
Expand description
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.