XMVector2Length
Computes the length of a 2D vector.
Syntax
XMVECTOR XMVector2Length(
XMVECTOR V
)
Parameters
V
Type: XMVECTOR
2D vector.
Return value
Type: XMVECTOR
Returns a vector. The length of V is replicated into each component.
Requirements
Header: Declared in directxmath.h.