From 5dee2731e6fb3deb2c44e269d12c2b7db62c74cb Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Thu, 7 Jun 2012 13:35:23 +0200 Subject: Finished implementation of math functions --- src/math/const.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/math/const.h') 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 + -- cgit v1.2.3-1-g7c22