Skip to content

Commit

Permalink
Add EIGEN_QUATERNION_PLUGIN
Browse files Browse the repository at this point in the history
  • Loading branch information
ggael committed Sep 7, 2015
1 parent 5e0dad7 commit 401e7f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Eigen/src/Geometry/Quaternion.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,10 @@ class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
inline const Coefficients& coeffs() const { return m_coeffs;}

EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(NeedsAlignment)

#ifdef EIGEN_QUATERNION_PLUGIN
# include EIGEN_QUATERNION_PLUGIN
#endif

protected:
Coefficients m_coeffs;
Expand Down
1 change: 1 addition & 0 deletions doc/PreprocessorDirectives.dox
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ following macros are supported; none of them are defined by default.
- \b EIGEN_MATRIX_PLUGIN - filename of plugin for extending the Matrix class.
- \b EIGEN_MATRIXBASE_PLUGIN - filename of plugin for extending the MatrixBase class.
- \b EIGEN_PLAINOBJECTBASE_PLUGIN - filename of plugin for extending the PlainObjectBase class.
- \b EIGEN_QUATERNION_PLUGIN - filename of plugin for extending the Quaternion class.
- \b EIGEN_QUATERNIONBASE_PLUGIN - filename of plugin for extending the QuaternionBase class.
- \b EIGEN_SPARSEMATRIX_PLUGIN - filename of plugin for extending the SparseMatrix class.
- \b EIGEN_SPARSEMATRIXBASE_PLUGIN - filename of plugin for extending the SparseMatrixBase class.
Expand Down

0 comments on commit 401e7f6

Please sign in to comment.