$cos

From Scriptwiki
Jump to: navigation, search

Trigonometric function to return the cosine (x) of an angle.

$cos(N)[.deg]
  • N is an angle in radians.
  • The .deg property allows N to be given in degrees

See also

$acos for getting the arccosine of an angle.