RadiansToDegrees - Math
Member of: Math Script
Converts from radians to degrees.
SyntaxEdit
float Function RadiansToDegrees(float afRadians) native global
ParametersEdit
- afRadians: The value in radians to convert.
Return ValueEdit
The passed-in value converted to degrees.
ExamplesEdit
float x = RadiansToDegrees(6.28318) ; x ~= 360
float y = RadiansToDegrees(1.57080) ; y ~= 90