Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gdevelop5:all-features:common-conversions [2019/06/22 12:52]
piyushpalawat99
gdevelop5:all-features:common-conversions [2019/06/22 16:20] (current)
4ian [Angle conversion]
Line 6: Line 6:
  
 Angles can either be expressed in degrees or in radians. A circle describes an angle of 360 degrees or 2π radians. Similarly, a semicircle describes an angle of 180 degrees or π radians. Angles can either be expressed in degrees or in radians. A circle describes an angle of 360 degrees or 2π radians. Similarly, a semicircle describes an angle of 180 degrees or π radians.
 +
 +Use `ToRad` or `ToDeg` in numerical expressions to convert degrees to radians or radians to degrees.
  
 {{ :​wiki:​pres_coord2.png?​nolink |}} {{ :​wiki:​pres_coord2.png?​nolink |}}