Estimates the length of a 2D vector.
XMVECTOR XMVector2LengthEst(
XMVECTOR V
)
V
Type: XMVECTOR
2D vector.
Type: XMVECTOR
Returns a vector, each of whose components are estimates of the length of V.
Est functions offer increased performance at the expense of reduced accuracy. Est functions are appropriate for non-critical calculations where accuracy can be sacrificed for speed. The exact amount of lost accuracy and speed increase are platform dependent.
Header: Declared in directxmath.h.