mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-02-26 12:10:49 +01:00
14 lines
203 B
C
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
|