[−][src]Function directx_math::XMVector3AngleBetweenVectors
pub fn XMVector3AngleBetweenVectors(V1: FXMVECTOR, V2: FXMVECTOR) -> FXMVECTOR
Computes the radian angle between two 3D vectors.
Parameters
V1
3D vector.
V2
3D 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 3D vectors, it is faster to use XMVector3AngleBetweenNormals.