Sin - Math
Revision as of 14:12, 2 December 2015 by imported>Plplecuyer
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 = sin(180) ; x == 0
float y = sin(90) ; y == 1