Getincangle: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
XTHX2 (talk | contribs)
Created page with 'getincangle <return> <angle1> <angle2> Get's the absolute difference of the <angle1> and <angle2> and saves the result into the <return> variable.'
 
No edit summary
Line 1: Line 1:
getincangle <return> <angle1> <angle2>
getincangle <return> <angle1> <angle2>


Get's the absolute difference of the <angle1> and <angle2> and saves the result into the <return> variable.
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.

Revision as of 19:51, 20 April 2009

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.