Built-in functions: math_tan()
The function math_tan() calculates the tangent value of the given angle.
Declaration
float math_tan( float aAngle )
Parameters
aAngle
The angle to calculate the tangent value. Please note, the angle is expressed in degree not radians.
Discussion
The trigonometric function math_tan() calculates the tangent of the given angle aAngle. For example:
var float tangent = math_tan( 45.0 ); // tangent = 1.0