EPS.h 254 B

1234567891011
  1. #ifndef EPS_H
  2. #define EPS_H
  3. // Define a standard value for double epsilon
  4. namespace igl
  5. {
  6. const double DOUBLE_EPS = 1.0e-14;
  7. const double DOUBLE_EPS_SQ = 1.0e-28;
  8. const float FLOAT_EPS = 1.0e-7;
  9. const float FLOAT_EPS_SQ = 1.0e-14;
  10. }
  11. #endif