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