mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- Blood: Replace internals of Sin()
to use sintable[]
array instead of costable[]
array.
This commit is contained in:
parent
ead877450d
commit
79b3e10f2a
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ void trigInit();
|
|||
|
||||
inline int Sin(int ang)
|
||||
{
|
||||
return costable[(ang - 512) & 2047];
|
||||
return sintable[ang & 2047];
|
||||
}
|
||||
|
||||
inline int Cos(int ang)
|
||||
|
|
Loading…
Reference in a new issue