Units.deg2rad

static float deg2rad

Description

Degrees to radians, multiply degree values by this, and you get radians! Like so: 180 * Units.deg2rad == 3.1415926536, which is pi, or 1 radian.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!