Built-in functions: math_sin()
The function math_sin() calculates a sine value.
Declaration
float math_sin( float aAngle )
Parameters
aAngle
The angle to calculate the sine. Please note, the angle is expressed in degree not radians.
Discussion
The trigonometric function math_sin() calculates the sine of the given angle aAngle. The function returns the sine value lying in the range -1.0 .. +1.0. For example:
var float y = math_sin( 60.0 ); // y = 0.86602...