Getincangle

From EDukeWiki
Jump to navigation Jump to search

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.