1、角度转换弧度
#define CHDegreesToRadian(x) (M_PI * (x) / 180.0)
2、弧度转换角度
#define CHRadianToDegrees(radian) (radian*180.0)/(M_PI)
原文地址:https://www.cnblogs.com/CH520/p/9311409.html
时间: 2024-10-09 21:37:04
#define CHDegreesToRadian(x) (M_PI * (x) / 180.0)
#define CHRadianToDegrees(radian) (radian*180.0)/(M_PI)
原文地址:https://www.cnblogs.com/CH520/p/9311409.html