mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-22 11:41:08 +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)
|
inline int Sin(int ang)
|
||||||
{
|
{
|
||||||
return costable[(ang - 512) & 2047];
|
return sintable[ang & 2047];
|
||||||
}
|
}
|
||||||
|
|
||||||
inline int Cos(int ang)
|
inline int Cos(int ang)
|
||||||
|
|
Loading…
Reference in a new issue