home *** CD-ROM | disk | FTP | other *** search
/ Media Share 13 / mediashare_13.zip / mediashare_13 / ZIPPED / PROGRAM / SNIP9404.ZIP / PI.H < prev    next >
C/C++ Source or Header  |  1994-04-03  |  121b  |  7 lines

  1. #ifndef PI
  2.  #define PI         (4*atan(1))
  3. #endif
  4.  
  5. #define deg2rad(d) ((d)*PI/180)
  6. #define rad2deg(r) ((r)*180/PI)
  7.