sentry_chassis_hzz/modules/general_def.h

15 lines
283 B
C
Raw Normal View History

#ifndef GENERAL_DEF_H
#define GENERAL_DEF_H
#ifndef PI
#define PI 3.1415926535f
#endif // !PI
#define PI2 (PI * 2.0f) // 2 pi
#define RAD_2_ANGLE (180.0f / PI)
#define ANGLE_2_RAD (PI / 180.0f)
#define RPM_2_ANGLE_PER_SEC (360.0f/60.0f) // ×360°/60sec
#endif // !GENERAL_DEF_H