diff options
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 |