[−][src]Function directx_math::XMVector3NormalizeEst
pub fn XMVector3NormalizeEst(V: FXMVECTOR) -> FXMVECTOR
Estimates the normalized version of a 3D vector.
Parameters
V
3D vector.
Return value
Returns an estimate of the normalized version of V
.
Remarks
For a vector with 0
length or infinite length, this function returns a vector of QNaN
.
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.
Reference
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVector3NormalizeEst