Fixed InnerPanel definition in the Transformation class.

Added some inital documentation on InnerPanel.
This commit is contained in:
Hauke Heibel
2013-08-27 14:54:57 +02:00
parent 94a7a1ec00
commit 69c057ccb1
2 changed files with 5 additions and 2 deletions

View File

@@ -208,9 +208,9 @@ public:
/** type of a vector */
typedef Matrix<Scalar,Dim,1> VectorType;
/** type of a read/write reference to the translation part of the rotation */
typedef Block<MatrixType,Dim,1,int(Mode)==(AffineCompact)> TranslationPart;
typedef Block<MatrixType,Dim,1,!(internal::traits<MatrixType>::Flags & RowMajorBit)> TranslationPart;
/** type of a read reference to the translation part of the rotation */
typedef const Block<ConstMatrixType,Dim,1,int(Mode)==(AffineCompact)> ConstTranslationPart;
typedef const Block<ConstMatrixType,Dim,1,!(internal::traits<MatrixType>::Flags & RowMajorBit)> ConstTranslationPart;
/** corresponding translation type */
typedef Translation<Scalar,Dim> TranslationType;