Browse Source

Hide Matrix::ij() reimplementation from documentation.

pull/279/head
Vladimír Vondruš 14 years ago
parent
commit
e114fc12df
  1. 7
      src/Math/Matrix4.h

7
src/Math/Matrix4.h

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

Loading…
Cancel
Save