Computes the difference of two vectors.
XMVECTOR XMVectorSubtract(
XMVECTOR V1,
XMVECTOR V2
)
V1
Type: XMVECTOR
First vector.
V2
Type: XMVECTOR
Vector to subtract from V1
Type: XMVECTOR
Returns a vector that is the difference of V1 and V2.
Header: Declared in directxmath.h.