summaryrefslogtreecommitdiffstats
path: root/src/math/const.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-05-02 22:39:43 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-05-02 22:39:43 +0200
commitea442a887d562e95fa91186a4333c830ab5543e7 (patch)
tree6d5198304f06efa1675e1db842d7bbd75a75bac4 /src/math/const.h
parent2513f6556e30e7d98ca615ed769ad82f902f7137 (diff)
downloadcolobot-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.h5
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