DegreesToRadians - Math
Revision as of 13:09, 8 October 2012 by imported>JustinOther (→Examples: Floatified float params)
Member of: Math Script
Converts from degrees to radians.
Syntax
float Function DegreesToRadians(float afDegrees) native global
Parameters
- afDegrees: The value in degrees to convert.
Return Value
The passed-in value converted to radians.
Examples
float x = DegreesToRadians(360.0) ; x ~= 6.28318
float y = DegreesToRadians(90.0) ; y ~= 1.57080