Merge branch 'accurate' into portable

This commit is contained in:
Clownacy 2019-09-05 17:19:48 +01:00
commit eabda30263

View file

@ -21,7 +21,7 @@ void InitTriangleTable()
for (i = 0; i < 0x21; ++i)
{
a = (float)(i * 6.2831855f / 256.0f);
b = sinf(a) / cosf(a);
b = sin(a) / cos(a);
gTan[i] = (short)(b * 8192.0f);
}
}