diff --git a/src/game/genetics/genetics.hpp b/src/game/genetics/genetics.hpp index 7c567c3..b685461 100644 --- a/src/game/genetics/genetics.hpp +++ b/src/game/genetics/genetics.hpp @@ -20,6 +20,9 @@ #ifndef ANTKEEPER_GENETICS_HPP #define ANTKEEPER_GENETICS_HPP +/// Genetic algorithms and data types. +namespace genetic {} + #include "amino-acid.hpp" #include "base.hpp" #include "codon.hpp" diff --git a/src/math/angles.hpp b/src/math/angles.hpp index f8fe51c..4a05e93 100644 --- a/src/math/angles.hpp +++ b/src/math/angles.hpp @@ -25,9 +25,6 @@ namespace math { -/// @addtogroup utility -/// @{ - /** * Converts an angle given in radians to degrees. * @@ -88,8 +85,6 @@ inline T wrap_radians(T radians) return std::remainder(radians, two_pi); } -/// @} - } // namespace math #endif // ANTKEEPER_MATH_ANGLES_HPP diff --git a/src/math/constants.hpp b/src/math/constants.hpp index 52bca44..06dd6af 100644 --- a/src/math/constants.hpp +++ b/src/math/constants.hpp @@ -26,9 +26,6 @@ namespace math { -/// @addtogroup utility -/// @{ - /** * Pi. */ @@ -97,8 +94,6 @@ constexpr transform identity_transform = {T(1), T(1), T(1)} }; -/// @} - } // namespace math #endif // ANTKEEPER_MATH_CONSTANTS_HPP diff --git a/src/math/interpolation.hpp b/src/math/interpolation.hpp index 833093b..32a4f5a 100644 --- a/src/math/interpolation.hpp +++ b/src/math/interpolation.hpp @@ -29,9 +29,6 @@ namespace math { -/// @addtogroup utility -/// @{ - /** * Linearly interpolates between @p x and @p y. * @@ -90,8 +87,6 @@ inline T log_lerp(const T& x, const T& y, S a) return x * std::pow(y / x, a); } -/// @} - } // namespace math #endif // ANTKEEPER_MATH_INTERPOLATION_HPP diff --git a/src/math/math.hpp b/src/math/math.hpp index d994225..0f918d9 100644 --- a/src/math/math.hpp +++ b/src/math/math.hpp @@ -20,7 +20,7 @@ #ifndef ANTKEEPER_MATH_HPP #define ANTKEEPER_MATH_HPP -/// Contains mathematical functions and data types. +/// Mathematical functions and data types. namespace math {} /** diff --git a/src/math/random.hpp b/src/math/random.hpp index 630eac4..8d4c3c9 100644 --- a/src/math/random.hpp +++ b/src/math/random.hpp @@ -25,9 +25,6 @@ namespace math { -/// @addtogroup utility -/// @{ - /** * Generates a pseudo-random floating point number on `[start, end)` using std::rand(). * @@ -48,8 +45,6 @@ inline T random(T start, T end) return static_cast(std::rand()) * rand_max_inverse * (end - start) + start; } -/// @} - } // namespace math #endif // ANTKEEPER_MATH_RANDOM_HPP