[][src]Function directx_math::XMVectorCos

pub fn XMVectorCos(V: FXMVECTOR) -> XMVECTOR

Computes the cosine of each component of an XMVECTOR.

Parameters

V Vector for which to compute the cosine.

Return value

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

Remarks

This function uses a 10-degree minimax approximation.

Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVectorCos