Ang: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
The angle of the sprite. The technical term for it is "'''yaw'''".
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.


[[Category:Player structure members]]
[[Category:Player structure members]]
[[Category:Sprite structure members]]

Revision as of 09:13, 8 September 2006

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.