Ang

From EDukeWiki
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.