Cos

From the Fallout3 GECK Wiki
Revision as of 12:18, 13 April 2009 by imported>DewiMorgan (debold; notes wasn't available in geck; note slow; add CS links.)
Jump to navigation Jump to search

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.