Difference between revisions of "Cos"

From King Arthur's Gold Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
Maths function - Cos.
+
Returns the cosine of the given angle in radians.
 
</onlyinclude>
 
</onlyinclude>
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
float Cos(float v)
+
float Cos(float degrees)
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
[[Category:Scripting]]
 
[[Category:Scripting]]
 
[[Category:Global Functions]]
 
[[Category:Global Functions]]

Revision as of 17:14, 22 August 2012

Returns the cosine of the given angle in radians.

float Cos(float degrees)