From 5e066d63957eb51a0d32418349290fc8b90ceeb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 26 Oct 2014 13:06:35 +0100 Subject: [PATCH] Math: hide macro from Doxygen. For some weird reason it caused Doxygen to use that as target for documentation block that is *after* the macro. --- src/Magnum/Math/Matrix3.h | 2 ++ src/Magnum/Math/Matrix4.h | 2 ++ src/Magnum/Math/Vector2.h | 2 ++ src/Magnum/Math/Vector3.h | 2 ++ src/Magnum/Math/Vector4.h | 2 ++ 5 files changed, 10 insertions(+) diff --git a/src/Magnum/Math/Matrix3.h b/src/Magnum/Math/Matrix3.h index bf00f5b2d..979f55d07 100644 --- a/src/Magnum/Math/Matrix3.h +++ b/src/Magnum/Math/Matrix3.h @@ -319,7 +319,9 @@ template class Matrix3: public Matrix3x3 { MAGNUM_MATRIX_SUBCLASS_IMPLEMENTATION(3, Matrix3, Vector3) }; +#ifndef DOXYGEN_GENERATING_OUTPUT MAGNUM_MATRIXn_OPERATOR_IMPLEMENTATION(3, Matrix3) +#endif /** @debugoperator{Magnum::Math::Matrix3} */ template inline Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Matrix3& value) { diff --git a/src/Magnum/Math/Matrix4.h b/src/Magnum/Math/Matrix4.h index 46e34b665..c27ea9350 100644 --- a/src/Magnum/Math/Matrix4.h +++ b/src/Magnum/Math/Matrix4.h @@ -391,7 +391,9 @@ template class Matrix4: public Matrix4x4 { MAGNUM_MATRIX_SUBCLASS_IMPLEMENTATION(4, Matrix4, Vector4) }; +#ifndef DOXYGEN_GENERATING_OUTPUT MAGNUM_MATRIXn_OPERATOR_IMPLEMENTATION(4, Matrix4) +#endif /** @debugoperator{Magnum::Math::Matrix4} */ template inline Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Matrix4& value) { diff --git a/src/Magnum/Math/Vector2.h b/src/Magnum/Math/Vector2.h index d40435e62..fd06a4eff 100644 --- a/src/Magnum/Math/Vector2.h +++ b/src/Magnum/Math/Vector2.h @@ -160,7 +160,9 @@ template class Vector2: public Vector<2, T> { MAGNUM_VECTOR_SUBCLASS_IMPLEMENTATION(2, Vector2) }; +#ifndef DOXYGEN_GENERATING_OUTPUT MAGNUM_VECTORn_OPERATOR_IMPLEMENTATION(2, Vector2) +#endif /** @debugoperator{Magnum::Math::Vector2} */ template inline Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Vector2& value) { diff --git a/src/Magnum/Math/Vector3.h b/src/Magnum/Math/Vector3.h index 0bb553cc4..210431beb 100644 --- a/src/Magnum/Math/Vector3.h +++ b/src/Magnum/Math/Vector3.h @@ -208,7 +208,9 @@ template class Vector3: public Vector<3, T> { MAGNUM_VECTOR_SUBCLASS_IMPLEMENTATION(3, Vector3) }; +#ifndef DOXYGEN_GENERATING_OUTPUT MAGNUM_VECTORn_OPERATOR_IMPLEMENTATION(3, Vector3) +#endif /** @debugoperator{Magnum::Math::Vector3} */ template inline Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Vector3& value) { diff --git a/src/Magnum/Math/Vector4.h b/src/Magnum/Math/Vector4.h index fbedacf28..d1a223ed4 100644 --- a/src/Magnum/Math/Vector4.h +++ b/src/Magnum/Math/Vector4.h @@ -172,7 +172,9 @@ template class Vector4: public Vector<4, T> { MAGNUM_VECTOR_SUBCLASS_IMPLEMENTATION(4, Vector4) }; +#ifndef DOXYGEN_GENERATING_OUTPUT MAGNUM_VECTORn_OPERATOR_IMPLEMENTATION(4, Vector4) +#endif /** @debugoperator{Magnum::Math::Vector4} */ template inline Corrade::Utility::Debug operator<<(Corrade::Utility::Debug debug, const Vector4& value) {