diff --git a/src/Magnum.h b/src/Magnum.h index 7123b40f7..1f8c7d14f 100644 --- a/src/Magnum.h +++ b/src/Magnum.h @@ -64,6 +64,8 @@ namespace Math { template class Matrix3; template class Matrix4; + template class Quaternion; + template constexpr T deg(T value); template constexpr T rad(T value); template class Constants; @@ -117,6 +119,9 @@ typedef Math::Matrix3 Matrix3; /** @brief 4x4 floating-point matrix */ typedef Math::Matrix4 Matrix4; +/** @brief Quaternion */ +typedef Math::Quaternion Quaternion; + /** @brief Floating-point constants */ /* Using float instead of GLfloat to not break KDevelop autocompletion */ typedef Math::Constants Constants; diff --git a/src/Math/Quaternion.h b/src/Math/Quaternion.h index 737f3978c..abac00de5 100644 --- a/src/Math/Quaternion.h +++ b/src/Math/Quaternion.h @@ -30,7 +30,11 @@ namespace Magnum { namespace Math { -/** @brief %Quaternion */ +/** +@brief %Quaternion + +@see Magnum::Quaternion +*/ template class Quaternion { public: /**