[][src]Function directx_math::XMVector3AngleBetweenNormalsEst

pub fn XMVector3AngleBetweenNormalsEst(
    N1: FXMVECTOR,
    N2: FXMVECTOR
) -> FXMVECTOR

Estimates the radian angle between two normalized 3D vectors.

Parameters

N1 Normalized 3D vector.

N2 Normalized 3D 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-XMVector3AngleBetweenNormalsEst