Function directx_math::XMVector2AngleBetweenNormalsEst[][src]

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

Estimates the radian angle between two normalized 2D vectors.

Parameters

N1 Normalized 2D vector.

N2 Normalized 2D 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-XMVector2AngleBetweenNormalsEst