Computes both the sine and cosine of a radian angle.
void XMScalarSinCos(
float *pSin,
float *pCos,
float Value
)
pSin
Type: float *
[out]
Address of a float that will contain the result of the sine of Value.
pCos
Type: float *
[out]
Address of a float that will contain the result of the cosine of Value.
Value
Type: float
float value describing the radian angle.
This function uses a 11-degree minimax approximation for sine; 10-degree for cosine.
Header: Declared in directxmath.h.