diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-12 13:48:17 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-06-12 13:48:17 +0200 |
commit | b5d16ef340208bbe1a76f33f7498fb168f6405b6 (patch) | |
tree | 86b2f31585b0621130d9c5300a77f2be9c30c808 /src/math/const.h | |
parent | a8665d204255b4b0ad9ae6982f77ecd5e053c1b6 (diff) | |
download | colobot-b5d16ef340208bbe1a76f33f7498fb168f6405b6.tar.gz colobot-b5d16ef340208bbe1a76f33f7498fb168f6405b6.tar.bz2 colobot-b5d16ef340208bbe1a76f33f7498fb168f6405b6.zip |
Fixes in math module
- rewritten RotateAngle() function and test for it in geometry_test.cpp
- added conv.h - conversion functions
- added comments in math3d.h and d3dmath.h pointing to new functions
- other minor fixes
Diffstat (limited to 'src/math/const.h')
-rw-r--r-- | src/math/const.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/math/const.h b/src/math/const.h index 8980287..6721284 100644 --- a/src/math/const.h +++ b/src/math/const.h @@ -39,14 +39,6 @@ namespace Math //! PI const float PI = 3.14159265358979323846f; - //! 2 * PI - const float PI_MUL_2 = 6.28318530717958623200f; - //! PI / 2 - const float PI_DIV_2 = 1.57079632679489655800f; - //! PI / 4 - const float PI_DIV_4 = 0.78539816339744827900f; - //! 1 / PI - const float INV_PI = 0.31830988618379069122f; //! Degrees to radians multiplier const float DEG_TO_RAD = 0.01745329251994329547f; |