Merge branch 'accurate' into portable
This commit is contained in:
commit
950bf28273
2 changed files with 4 additions and 1 deletions
3
assets/resources/afxres.h
Normal file
3
assets/resources/afxres.h
Normal file
|
@ -0,0 +1,3 @@
|
|||
// Quick-and-dirty shim to make CSE2.rc work in newer versions of Visual Studio
|
||||
|
||||
#include "winres.h"
|
|
@ -21,7 +21,7 @@ void InitTriangleTable()
|
|||
for (i = 0; i < 0x21; ++i)
|
||||
{
|
||||
a = (float)(i * 6.2831855f / 256.0f);
|
||||
b = sin(a) / cos(a);
|
||||
b = (float)sin(a) / (float)cos(a);
|
||||
gTan[i] = (short)(b * 8192.0f);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue