diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-19 23:50:28 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-19 23:50:28 +0200 |
commit | 7b6bbf79c4bb73013e2fe01f84f0025e7c06c00e (patch) | |
tree | 18196404b7f9a7c000f006076030e1d568302e5d /src/math/const.h | |
parent | 7479f486b671acb2a6aea2c84a56b383aaba00ca (diff) | |
download | colobot-7b6bbf79c4bb73013e2fe01f84f0025e7c06c00e.tar.gz colobot-7b6bbf79c4bb73013e2fe01f84f0025e7c06c00e.tar.bz2 colobot-7b6bbf79c4bb73013e2fe01f84f0025e7c06c00e.zip |
Namespace and styling fix
Diffstat (limited to 'src/math/const.h')
-rw-r--r-- | src/math/const.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/math/const.h b/src/math/const.h index 3f85fee..8318b7a 100644 --- a/src/math/const.h +++ b/src/math/const.h @@ -21,12 +21,13 @@ #pragma once + #include <cmath> // Math module namespace -namespace Math -{ +namespace Math { + //! Tolerance level -- minimum accepted float value const float TOLERANCE = 1e-6f; @@ -50,4 +51,5 @@ const float RAD_TO_DEG = 57.29577951308232286465f; //! Natural logarithm of 2 const float LOG_2 = log(2.0f); -}; // namespace Math + +} // namespace Math |