diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-06-29 19:26:20 +0200 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-06-29 19:26:20 +0200 |
commit | 632cb7a4a1055fa3abbd341466d240cc50069361 (patch) | |
tree | 76e9e11d79741e02ef5bcb24fa89210ac7e84633 /Eigen | |
parent | bf91003d37f18d5bcf66bafb7290560f11cdf6ba (diff) |
patch by Myguel from the forum: fix documentation
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Geometry/Quaternion.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Eigen/src/Geometry/Quaternion.h b/Eigen/src/Geometry/Quaternion.h index 66580cf1b..d7480bf9c 100644 --- a/Eigen/src/Geometry/Quaternion.h +++ b/Eigen/src/Geometry/Quaternion.h @@ -303,7 +303,9 @@ inline Quaternion<Scalar>& Quaternion<Scalar>::operator=(const MatrixBase<Derive return *this; } -/** Convert the quaternion to a 3x3 rotation matrix */ +/** Convert the quaternion to a 3x3 rotation matrix. The quaternion is required to + * be normalized, otherwise the result is undefined. + */ template<typename Scalar> inline typename Quaternion<Scalar>::Matrix3 Quaternion<Scalar>::toRotationMatrix(void) const |