Sin: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
One (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
sin <[[gamevar]]> <[[gamevar|gamevar2]]>
'''sin''' <[[gamevar]]> <[[gamevar|gamevar2]]>


Sets <[[gamevar]]> to the sine of <[[gamevar|gamevar2]]>. Also see [[cos]].
Sets <[[gamevar]]> to the sine 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 [[cos]].


[[Category:EDuke commands]]
[[Category:EDuke commands]]
[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]

Latest revision as of 13:29, 4 May 2009

sin <gamevar> <gamevar2>

Sets <gamevar> to the sine 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 cos.