RadiansToDegrees - Math
Revision as of 16:13, 20 October 2011 by imported>Jlundin (→Examples)
Member of: Math Script
Converts from radians to degrees.
Syntax
float Function RadiansToDegrees(float afRadians) native global
Parameters
- afRadians: The value in radians to convert.
Return Value
The passed-in value converted to degrees.
Examples
float x = RadiansToDegrees(6.28318) ; x ~= 360
float y = RadiansToDegrees(1.57080) ; y ~= 90