Estimates the radian angle between two normalized 3D vectors.
XMVECTOR XMVector3AngleBetweenNormalsEst(
XMVECTOR N1,
XMVECTOR N2
)
N1
Type: XMVECTOR
Normalized 3D vector.
N2
Type: XMVECTOR
Normalized 3D vector.
Type: XMVECTOR
Returns a vector. The estimate of the radian angle (between N1 and N2) is replicated to each of the components.
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: Declared in directxmath.h.