Ang

From EDukeWiki
Revision as of 06:40, 1 June 2014 by Jwaffe (talk | contribs) (Removed useless dead link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In the player structure, ang is the current angle that the player is facing. In the sprite structure, ang serves the same purpose. Note that for players, the angle member of the sprite referenced by i is updated to reflect this value once per tic. 2048 Build units corresponds to 360 degrees.