XMVector4AngleBetweenNormalsEst

Estimates the radian angle between two normalized 4D vectors.

Syntax

XMVECTOR XMVector4AngleBetweenNormalsEst(
         XMVECTOR N1,
         XMVECTOR N2
)  

Parameters

N1
Type: XMVECTOR 

Normalized 4D vector.

N2
Type: XMVECTOR 

Normalized 4D vector.

Return value

Type: XMVECTOR 

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.

Requirements

Header: Declared in directxmath.h.