- Because entryway timed it, here is a new version of R_PointToAngle2 that is

closer to the original. The old code was shorter but a little slower. The
  new code is a bit faster than the original with VC++ and about the same
  with GCC. Interestingly, GCC produces code for Killough's version that
  performs about the same as the original, but when compiled with VC++,
  Killough's is notably worse.


SVN r1813 (trunk)
This commit is contained in:
Randy Heit 2009-09-08 23:48:34 +00:00
commit 12576d2eb5
3 changed files with 43 additions and 38 deletions

View file

@ -1,3 +1,11 @@
September 8, 2009
- Because entryway timed it, here is a new version of R_PointToAngle2 that is
closer to the original. The old code was shorter but a little slower. The
new code is a bit faster than the original with VC++ and about the same
with GCC. Interestingly, GCC produces code for Killough's version that
performs about the same as the original, but when compiled with VC++,
Killough's is notably worse.
September 8, 2009 (Changes by Graf Zahl)
- moved ENDOOM lump name definition into gameinfo.
- moved default item drop style into gameinfo.