ZERO.h 411 B

1234567891011121314
  1. #ifndef IGL_ZERO_H
  2. #define IGL_ZERO_H
  3. // Often one needs a reference to a dummy variable containing zero as its
  4. // value, for example when using AntTweakBar's
  5. // TwSetParam( "3D View", "opened", TW_PARAM_INT32, 1, &INT_ZERO);
  6. namespace igl
  7. {
  8. const char CHAR_ZERO = 0;
  9. const int INT_ZERO = 0;
  10. const unsigned int UNSIGNED_INT_ZERO = 0;
  11. const double DOUBLE_ZERO = 0;
  12. const float FLOAT_ZERO = 0;
  13. }
  14. #endif