diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-26 22:23:05 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-26 22:23:05 +0200 |
commit | ebed57aa22b772211387a5561f995eee8f5faed1 (patch) | |
tree | 9a0b08371df54c125957e63c7ecff81c001d4eaf /src/math/const.h | |
parent | fc5389d18816799ba2698914384cd099ba8a7a6c (diff) | |
download | colobot-ebed57aa22b772211387a5561f995eee8f5faed1.tar.gz colobot-ebed57aa22b772211387a5561f995eee8f5faed1.tar.bz2 colobot-ebed57aa22b772211387a5561f995eee8f5faed1.zip |
Whitespace and language change
- changed tabs to spaces and DOS line endings to Unix
(except in CBot and metafile)
- changed language to English
- fixed #include <d3d.h> in d3dengine.h
Diffstat (limited to 'src/math/const.h')
-rw-r--r-- | src/math/const.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/math/const.h b/src/math/const.h index 6721284..dd7ab0f 100644 --- a/src/math/const.h +++ b/src/math/const.h @@ -24,27 +24,27 @@ // Math module namespace namespace Math { - /* @{ */ // start of group +/* @{ */ // start of group - //! Tolerance level -- minimum accepted float value - const float TOLERANCE = 1e-6f; +//! Tolerance level -- minimum accepted float value +const float TOLERANCE = 1e-6f; - //! 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; +//! 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; +//! Huge number +const float HUGE = 1.0e+38f; - //! PI - const float PI = 3.14159265358979323846f; +//! PI +const float PI = 3.14159265358979323846f; - //! Degrees to radians multiplier - const float DEG_TO_RAD = 0.01745329251994329547f; - //! Radians to degrees multiplier - const float RAD_TO_DEG = 57.29577951308232286465f; +//! Degrees to radians multiplier +const float DEG_TO_RAD = 0.01745329251994329547f; +//! Radians to degrees multiplier +const float RAD_TO_DEG = 57.29577951308232286465f; - /* @} */ // end of group +/* @} */ // end of group }; // namespace Math |