Cos

From EDukeWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.