summaryrefslogtreecommitdiffstats
path: root/src/math/const.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-06-07 13:35:23 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-06-07 13:35:23 +0200
commit5dee2731e6fb3deb2c44e269d12c2b7db62c74cb (patch)
tree276a8356b693e8b12e9f69196c7a95cc995e13bb /src/math/const.h
parentf67a62fb28c882b1650b827730bac72f404e2c47 (diff)
downloadcolobot-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.h8
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
+