diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-05-02 22:39:43 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-05-02 22:39:43 +0200 |
commit | ea442a887d562e95fa91186a4333c830ab5543e7 (patch) | |
tree | 6d5198304f06efa1675e1db842d7bbd75a75bac4 /src/math/const.h | |
parent | 2513f6556e30e7d98ca615ed769ad82f902f7137 (diff) | |
download | colobot-ea442a887d562e95fa91186a4333c830ab5543e7.tar.gz colobot-ea442a887d562e95fa91186a4333c830ab5543e7.tar.bz2 colobot-ea442a887d562e95fa91186a4333c830ab5543e7.zip |
Structs continued
Diffstat (limited to 'src/math/const.h')
-rw-r--r-- | src/math/const.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/math/const.h b/src/math/const.h index 79ad564..4f2549e 100644 --- a/src/math/const.h +++ b/src/math/const.h @@ -29,8 +29,11 @@ namespace Math //! Tolerance level -- minimum accepted float value const float TOLERANCE = 1e-6f; + //! Huge number + const float HUGE = 1.0e+38f; + //! PI - const float PI = 3.14159265358979323846f; + const float PI = 3.14159265358979323846f; //! 2 * PI const float PI_MUL_2 = 6.28318530717958623200f; //! PI / 2 |