[−][src]Function directx_math::XMVectorSinCos
pub fn XMVectorSinCos(pSin: &mut XMVECTOR, pCos: &mut XMVECTOR, V: FXMVECTOR)
Computes the sine and cosine of each component of an XMVECTOR.
Parameters
pSin
Address of a vector, each of whose components is the sine of the corresponding component of V
.
pCos
Address of a vector, each of whose components is the cosine of the corresponding component of V
.
V
Vector for which to compute the sine and cosine.
Return value
None.
Remarks
This function uses an 11-degree minimax approximation for sine, 10-degree for cosine.
Reference
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVectorSinCos