summaryrefslogtreecommitdiffstats
path: root/src/math/const.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-05-01 20:05:48 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-05-01 20:05:48 +0200
commit2513f6556e30e7d98ca615ed769ad82f902f7137 (patch)
tree135f4b437feba9e01bdb056e9fe4ecda9ff6d06e /src/math/const.h
parent7369b10a87aed982de328fbfa242666928e021d6 (diff)
downloadcolobot-2513f6556e30e7d98ca615ed769ad82f902f7137.tar.gz
colobot-2513f6556e30e7d98ca615ed769ad82f902f7137.tar.bz2
colobot-2513f6556e30e7d98ca615ed769ad82f902f7137.zip
Structs continued
Basic functions finished and tested for matrix and vector.
Diffstat (limited to 'src/math/const.h')
-rw-r--r--src/math/const.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/math/const.h b/src/math/const.h
index c96da44..79ad564 100644
--- a/src/math/const.h
+++ b/src/math/const.h
@@ -14,15 +14,18 @@
// * You should have received a copy of the GNU General Public License
// * along with this program. If not, see http://www.gnu.org/licenses/.
-// math/const.h
-
-/* Math constants */
+/** @defgroup MathConstModule math/const.h
+ Contains the math constants used in math functions.
+ */
#pragma once
+
// Math module namespace
namespace Math
{
+ /* @{ */ // start of group
+
//! Tolerance level -- minimum accepted float value
const float TOLERANCE = 1e-6f;
@@ -41,4 +44,6 @@ namespace Math
const float DEG_TO_RAD = 0.01745329251994329547f;
//! Radians to degrees multiplier
const float RAD_TO_DEG = 57.29577951308232286465f;
-};
+
+ /* @} */ // end of group
+}; // namespace Math