pi.h 130 B

1234567
  1. #include <math.h>
  2. #include <grass/gis.h>
  3. #define PI M_PI
  4. #define Radians(x) ((x) * PI/180.0)
  5. #define Degrees(x) ((x) * 180.0/PI)