diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-18 20:28:36 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-18 20:28:36 (GMT) |
commit | 9f6819e68501de16563aeaaadd65dfc915092169 (patch) | |
tree | 26beade954d4748b44ec303e2fd2e12584abe885 /src/dxfdata.h | |
parent | 8740ac3574c5249c9c22f5436d3b14f4f0563a66 (diff) |
initial rework to enable eigen3 per issue #174.
1. enable eigen3 in qmake build system
2. convert Transform3d and cwise() per the eigen2->eigen3 porting faq online
3. get rid of 'using namespace boost::filesystem' as it conflicts with eigen3
Diffstat (limited to 'src/dxfdata.h')
-rw-r--r-- | src/dxfdata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dxfdata.h b/src/dxfdata.h index 64853dc..80a23f6 100644 --- a/src/dxfdata.h +++ b/src/dxfdata.h @@ -30,6 +30,8 @@ public: #ifdef __APPLE__ std::vector<Vector2d, Eigen::aligned_allocator<Vector2d> > points; +#elif EIGEN_WORLD_VERSION == 3 + std::vector<Vector2d, Eigen::aligned_allocator<Vector3d> > points; #else std::vector<Vector2d> points; #endif |