To main page | 3dengine.org

Radians to degrees


To convert angle from radians to degress multiply it by 57.295779513082320876798154814105
inline double deg2rad(const double &angle) {	
    return angle/57.295779513082320876798154814105; 
};
inline double rad2deg(const double &angle) {	
    return angle*57.295779513082320876798154814105; 
};
See also degrees-to-radians.