mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Fix qradarang calculation
git-svn-id: https://svn.eduke32.com/eduke32@8088 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d0a3b86c77
commit
5708b36d26
1 changed files with 1 additions and 1 deletions
|
@ -7637,7 +7637,7 @@ static int32_t engineLoadTables(void)
|
|||
radarang[1279-i] = -radarang[i];
|
||||
|
||||
for (i=0; i<5120; i++)
|
||||
qradarang[i] = fix16_from_float(atanf(((float)(5120-i)-0.5f) * (1.f/1024.f)) * (-64.f * (1.f/BANG2RAD)));
|
||||
qradarang[i] = fix16_from_float(atanf(((float)(5120-i)-0.5f) * (1.f/1280.f)) * (-64.f * (1.f/BANG2RAD)));
|
||||
for (i=0; i<5120; i++)
|
||||
qradarang[10239-i] = -qradarang[i];
|
||||
|
||||
|
|
Loading…
Reference in a new issue