1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-07 07:13:21 +02:00
GPXSee/src/rd.h
2016-10-24 00:21:40 +02:00

14 lines
203 B
C

#ifndef RD_H
#define RD_H
#include <cmath>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif // M_PI
#define deg2rad(d) (((d)*M_PI)/180.0)
#define rad2deg(d) (((d)*180.0)/M_PI)
#endif // RD_H