Getincangle

From EDukeWiki
Revision as of 19:51, 20 April 2009 by DeeperThought (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

getincangle <return> <angle1> <angle2>

Gets the difference in degrees between angles <angle1> and <angle2> and stores the result in the <return> variable. Note that <return> can be either positive or negative, depending on whether the shortest turn from <angle1> to <angle2> is clockwise or counter-clockwise.