XMVectorCos

Computes the cosine of each component of an XMVECTOR.

Syntax

XMVECTOR XMVectorCos(
         XMVECTOR V
)  

Parameters

V
Type: XMVECTOR 

Vector for which to compute the cosine.

Return value

Type: XMVECTOR 

Returns a vector. Each component is the cosine of the corresponding component of V.

Remarks

This function uses a 10-degree minimax approximation.

Requirements

Header: Declared in directxmath.h.