Sin - Math
Jump to navigation
Jump to search
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 = sin(180) ; x == 0
float y = sin(90) ; y == 1