Sin - Math
Member of: Math Script
Calculates the sine of the value (in degrees) it is given.
SyntaxEdit
float Function sin(float afValue) native global
ParametersEdit
- afValue: The value to get the sine of, in degrees.
Return ValueEdit
The sine of the passed-in value.
ExamplesEdit
float x = math.sin(180.0) ; x == 0
float y = math.sin(90.0) ; y == 1