diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-07 13:35:23 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-07 13:35:23 +0200 |
commit | 5dee2731e6fb3deb2c44e269d12c2b7db62c74cb (patch) | |
tree | 276a8356b693e8b12e9f69196c7a95cc995e13bb /src/math/const.h | |
parent | f67a62fb28c882b1650b827730bac72f404e2c47 (diff) | |
download | colobot-5dee2731e6fb3deb2c44e269d12c2b7db62c74cb.tar.gz colobot-5dee2731e6fb3deb2c44e269d12c2b7db62c74cb.tar.bz2 colobot-5dee2731e6fb3deb2c44e269d12c2b7db62c74cb.zip |
Finished implementation of math functions
Diffstat (limited to 'src/math/const.h')
-rw-r--r-- | src/math/const.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/math/const.h b/src/math/const.h index 4f2549e..8980287 100644 --- a/src/math/const.h +++ b/src/math/const.h @@ -29,7 +29,12 @@ namespace Math //! Tolerance level -- minimum accepted float value const float TOLERANCE = 1e-6f; - //! Huge number + //! Very small number (used in testing/returning some values) + const float VERY_SMALL = 1e-6f; + //! Very big number (used in testing/returning some values) + const float VERY_BIG = 1e6f; + + //! Huge number const float HUGE = 1.0e+38f; //! PI @@ -50,3 +55,4 @@ namespace Math /* @} */ // end of group }; // namespace Math + |