GM: radtodeg

From GMpedia.org Wiki

Jump to: navigation, search
The correct title of this article is radtodeg(). It appears incorrectly here because of technical restrictions.

radtodeg
 

Type: function
Arguments: 1: angle (in radians)
Limitations: none

The radtodeg() function in Game Maker converts an angle in radians to an angle in degrees.


Note: radian to degree/degree to radian conversion

360° = 2Π rad
1 rad = 360/(2*Π)

[edit] See Also

Personal tools