Permalink
Browse files

Damn MSVC...

  • Loading branch information...
jlblancoc committed Jul 11, 2014
1 parent b6398b5 commit 8c799649f6be4c5e1deec479c2e204e502ab8704
Showing with 4 additions and 0 deletions.
  1. +4 −0 libs/base/include/mrpt/utils/bits.h
@@ -61,6 +61,10 @@ namespace mrpt
#ifdef RAD2DEG
#undef RAD2DEG
#endif
#if !defined(M_PI)
# define M_PI 3.14159265358979323846
#endif
/** Degrees to radians */
inline double DEG2RAD(const double x) { return x*M_PI/180.0; }
/** Degrees to radians */

0 comments on commit 8c79964

Please sign in to comment.