[][src]Function directx_math::XMScalarSinCosEst

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

Estimates both the sine and cosine of a radian angle.

Remarks

This function uses a 7-degree minimax approximation for sine; 6-degree for cosine.

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