Browse Source

Math: less strict precision for comparing floats.

Now the viewer example is usable again.
pull/68/head
Vladimír Vondruš 12 years ago
parent
commit
5e88bb0da2
  1. 2
      src/Magnum/Math/TypeTraits.h

2
src/Magnum/Math/TypeTraits.h

@ -35,7 +35,7 @@
/** @brief Precision when testing floats for equality */
#ifndef FLOAT_EQUALITY_PRECISION
#define FLOAT_EQUALITY_PRECISION 1.0e-6f
#define FLOAT_EQUALITY_PRECISION 1.0e-5f
#endif
/** @brief Precision when testing doubles for equality */

Loading…
Cancel
Save