[][src]Function directx_math::XMVector4AngleBetweenNormalsEst

pub fn XMVector4AngleBetweenNormalsEst(N1: FXMVECTOR, N2: FXMVECTOR) -> XMVECTOR

Estimates the radian angle between two normalized 4D vectors.

Parameters

N1 Normalized 4D vector.

N2 Normalized 4D vector.

Return value

Returns a vector. The estimate of the radian angle (between N1 and N2) is replicated to each of the components.

Remarks

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-XMVector4AngleBetweenNormalsEst