float Maths.RadiansToDegrees(float radians)
Converts the supplied angle in radians, to the equivalent angle in degrees.
Since the trigonometic functions such as Sin, Cos and Tan work in radians, this
function is handy to convert the results of one of those functions back to degrees.
Example:
float halfCircle = Maths.RadiansToDegrees(Maths.Pi);
converts PI radians into degrees (which is 180).
See Also: Maths.Cos,
Maths.DegreesToRadians,
Maths.Sin, Maths.Tan
|