Sin - Math
Revision as of 11:55, 8 October 2012 by imported>JustinOther (→Examples: Floatified float params)
Member of: Math Script
Calculates the sine of the value (in degrees) it is given.
Syntax[edit | edit source]
float Function sin(float afValue) native global
Parameters[edit | edit source]
- afValue: The value to get the sine of, in degrees.
Return Value[edit | edit source]
The sine of the passed-in value.
Examples[edit | edit source]
float x = math.sin(180.0) ; x == 0
float y = math.sin(90.0) ; y == 1