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