Cos

Revision as of 10:57, 26 November 2008 by imported>Kkuhlmann
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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