Getincangle: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
One (talk | contribs)
No edit summary
 
Line 1: Line 1:
getincangle <return> <angle1> <angle2>
'''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.
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.

Latest revision as of 12:29, 4 May 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.