public static float Sin(float x)
{
if (Settings.SINCOS_LUT_ENABLED)
{
return SinLut(x);
}
else
{
//UPGRADE_WARNING: Data types in Visual C# might be different. Verify the accuracy of narrowing conversions. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1042'"
return (float)Math.Sin(x);
}
}