XMVector3ReciprocalLengthEst function (directxmath.h)
Estimates the reciprocal of the length of a 3D vector.
XMVECTOR XM_CALLCONV XMVector3ReciprocalLengthEst( [in] FXMVECTOR V ) noexcept;
Returns a vector, each of whose components are estimates of the reciprocal 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||directxmath.h (include DirectXMath.h)|