mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
import eigen2 Geometry module into Eigen2Support.
fix build of geometry tests
This commit is contained in:
@@ -141,7 +141,7 @@ static inline DiagonalMatrix<Scalar,3> Scaling(Scalar sx, Scalar sy, Scalar sz)
|
||||
* This is an alias for coeffs.asDiagonal()
|
||||
*/
|
||||
template<typename Derived>
|
||||
static inline const DiagonalWrapper<Derived> Scaling(const MatrixBase<Derived>& coeffs)
|
||||
static inline const DiagonalWrapper<const Derived> Scaling(const MatrixBase<Derived>& coeffs)
|
||||
{ return coeffs.asDiagonal(); }
|
||||
|
||||
/** \addtogroup Geometry_Module */
|
||||
|
||||
@@ -607,10 +607,6 @@ typedef Transform<double,2,Projective> Projective2d;
|
||||
/** \ingroup Geometry_Module */
|
||||
typedef Transform<double,3,Projective> Projective3d;
|
||||
|
||||
#ifdef EIGEN2_SUPPORT
|
||||
#include "../Eigen2Support/Transform.h"
|
||||
#endif
|
||||
|
||||
/**************************
|
||||
*** Optional QT support ***
|
||||
**************************/
|
||||
|
||||
Reference in New Issue
Block a user