Tan - Math
Member of: Math Script
Calculates the tangent of the value (in degrees) it is given.
SyntaxEdit
float Function tan(float afValue) native global
ParametersEdit
- afValue: The value to get the tangent of, in degrees.
Return ValueEdit
The tangent of the passed-in value.
ExamplesEdit
float x = tan(180) ; x == 0
float y = tan(45) ; y == 1