diff options
author | Marius Kintel <marius@kintel.net> | 2011-10-30 01:47:21 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-10-30 01:47:21 (GMT) |
commit | f64dc11d330a50c901facfd1cf5e22b2ca2d5ead (patch) | |
tree | 534b55591fc02c7776a1355a609bc979e210c5a8 /src/dxfdata.h | |
parent | 9c95cd4c52d649f77169a7481669a5d384968ead (diff) | |
parent | 56979129695ca12ae86bc9b3ea988f7a720d4c8a (diff) |
Merge branch 'visitortests'
Diffstat (limited to 'src/dxfdata.h')
-rw-r--r-- | src/dxfdata.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dxfdata.h b/src/dxfdata.h index d24541c..7eea6a9 100644 --- a/src/dxfdata.h +++ b/src/dxfdata.h @@ -1,10 +1,8 @@ #ifndef DXFDATA_H_ #define DXFDATA_H_ +#include "linalg.h" #include <vector> -#include <Eigen/Dense> - -using Eigen::Vector2d; class DxfData { @@ -30,7 +28,11 @@ public: } }; +#ifdef __APPLE__ std::vector<Vector2d, Eigen::aligned_allocator<Vector2d> > points; +#else + std::vector<Vector2d> points; +#endif std::vector<Path> paths; std::vector<Dim> dims; |