mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-21 11:01:01 +00:00
- Blood: Replace internals of Cos()
to use sintable[]
array instead of costable[]
array.
This commit is contained in:
parent
79b3e10f2a
commit
ad183b5a3e
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ inline int Sin(int ang)
|
||||||
|
|
||||||
inline int Cos(int ang)
|
inline int Cos(int ang)
|
||||||
{
|
{
|
||||||
return costable[ang & 2047];
|
return sintable[(ang + 512) & 2047];
|
||||||
}
|
}
|
||||||
|
|
||||||
enum SurfaceType {
|
enum SurfaceType {
|
||||||
|
|
Loading…
Reference in a new issue