Merge branch 'accurate' into portable
This commit is contained in:
commit
eabda30263
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ void InitTriangleTable()
|
||||||
for (i = 0; i < 0x21; ++i)
|
for (i = 0; i < 0x21; ++i)
|
||||||
{
|
{
|
||||||
a = (float)(i * 6.2831855f / 256.0f);
|
a = (float)(i * 6.2831855f / 256.0f);
|
||||||
b = sinf(a) / cosf(a);
|
b = sin(a) / cos(a);
|
||||||
gTan[i] = (short)(b * 8192.0f);
|
gTan[i] = (short)(b * 8192.0f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue