diff options
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 e2f229e..17da1b9 100644 --- a/src/dxfdata.h +++ b/src/dxfdata.h @@ -4,10 +4,8 @@ #define EIGEN_DONT_ALIGN #endif +#include "linalg.h" #include <vector> -#include <Eigen/Dense> - -using Eigen::Vector2d; class DxfData { @@ -33,7 +31,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; |