Cos

From EDukeWiki
Revision as of 23:35, 8 December 2007 by Mblackwell (talk | contribs)
Jump to navigation Jump to search

cos <gamevar> <gamevar2>

Sets <gamevar> to the cosine of the angle defined by <gamevar2>. While in mathematics the hypotenuse has length 1, here it has 16384 (obviously because the engine doesn't support decimal values). Also see sin.