Difference between revisions of "Cos"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
Line 29: Line 29:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Math Functions]]
[[Category:Math Functions]]
[[Category:Math Functions (GECK 1.0)]]
[[Category:Math Functions (GECK 1.1)]]

Revision as of 10:48, 15 August 2009

Description

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

Syntax

 cos x     will return the cosine of x degrees
 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

Reference

None, yet.