PI.h 184 B

123456789
  1. namespace igl
  2. {
  3. // Use standard mathematical constants' M_PI if available
  4. #ifdef M_PI
  5. const double PI = M_PI;
  6. #else
  7. const double PI = 3.1415926535897932384626433832795;
  8. #endif
  9. }