diff --git a/src/Math/Matrix4.h b/src/Math/Matrix4.h index f39aa9c90..72260b9f5 100644 --- a/src/Math/Matrix4.h +++ b/src/Math/Matrix4.h @@ -131,9 +131,6 @@ template class Matrix4: public Matrix<4, T> { /** @brief Copy constructor */ inline constexpr Matrix4(const RectangularMatrix<4, 4, T>& other): Matrix<4, T>(other) {} - /** @copydoc Matrix::ij() */ - inline Matrix3 ij(size_t skipRow, size_t skipCol) const { return Matrix<4, T>::ij(skipRow, skipCol); } - /** * @brief 3D rotation and scaling part of the matrix * @@ -177,6 +174,10 @@ template class Matrix4: public Matrix<4, T> { return (*this)[3].xyz(); } + #ifndef DOXYGEN_GENERATING_OUTPUT + inline Matrix3 ij(size_t skipRow, size_t skipCol) const { return Matrix<4, T>::ij(skipRow, skipCol); } + #endif + MAGNUM_MATRIX_SUBCLASS_IMPLEMENTATION(Matrix4, Vector4, 4) MAGNUM_RECTANGULARMATRIX_SUBCLASS_OPERATOR_IMPLEMENTATION(4, 4, Matrix4) };