Difference between revisions of "Cos"

347 bytes added ,  12:18, 13 April 2009
m
debold; notes wasn't available in geck; note slow; add CS links.
imported>Kkuhlmann
 
imported>DewiMorgan
m (debold; notes wasn't available in geck; note slow; add CS links.)
Line 1: Line 1:
=='''Description'''==
==Description==


'''Cos''' When given degrees returns the cosine of a given angle.
'''Cos''' When given degrees returns the cosine of a given angle.


=='''Syntax'''==
==Syntax==


   cos x    ''will return the cosine of x degrees''
   cos x    ''will return the cosine of x degrees''
Line 9: Line 9:
   cos x 1  ''will return the arccosine of x in degrees – note the optional 1 indicating arc-.''
   cos x 1  ''will return the arccosine of x in degrees – note the optional 1 indicating arc-.''


==Examples==
None, yet.


==Notes==
*Sin, cos, tan, pow, log, and abs (particularly pow and log) are extremely slow. Do not use them in script blocks that get executed every frame.
*This function is new in the GECK, and was not available in the TES4 Construction Set. However, it was available through the OBSE script extender.


==See Also==
*[[Abs]]
*[[Log]]
*[[Pow]]
*[[Sin]]
*[[Tan]]
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Acos Acos (OBSE function)]
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/Cos Cos (OBSE function)]


=='''Examples'''==
==Reference==
 
None, yet.
 
 
=='''Notes'''==
Sin, cos, tan, pow, log, and abs (particularly pow and log) are extremely slow. Do not use them in script blocks that get executed every frame.
 
 
=='''See Also'''==
[[Sin]], [[Log]], [[Tan]], [[Pow]] and [[Abs]]
 
=='''Reference'''==
 
 


[[Category:Functions]]
[[Category:Functions]]
[[Category:Math Functions]]
[[Category:Math Functions]]
Anonymous user