Computes the square of the length of a 3D vector.
XMVECTOR XMVector3LengthSq(
XMVECTOR V
)
V
Type: XMVECTOR
3D vector.
Type: XMVECTOR
Returns a vector. The square of the length of V is replicated into each component.
Header: Declared in directxmath.h.