Jump to content

Cos

From EDukeWiki
Revision as of 11:01, 4 May 2009 by One (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.