[][src]Function directx_math::XMScalarSinCos

pub fn XMScalarSinCos(pSin: &mut f32, pCos: &mut f32, Value: f32)

Computes both the sine and cosine of a radian angle.

Remarks

This function uses a 11-degree minimax approximation for sine; 10-degree for cosine.

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