Cos: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
cos <[[gamevar]]> <[[gamevar|gamevar2]]> | '''cos''' <[[gamevar]]> <[[gamevar|gamevar2]]> | ||
Sets <[[gamevar]]> to the cosine of <[[gamevar|gamevar2]]>. | Sets <[[gamevar]]> to the cosine of the angle defined by <[[gamevar|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]]. | ||
[[Category:EDuke commands]] | [[Category:EDuke commands]] | ||
[[Category:Gamevar manipulation]] | [[Category:Gamevar manipulation]] |