diff options
author | Brad Pitcher <bradpitcher@gmail.com> | 2011-11-01 17:15:35 (GMT) |
---|---|---|
committer | Brad Pitcher <bradpitcher@gmail.com> | 2011-11-01 17:15:35 (GMT) |
commit | e2caf3726d68ff1fef63113519049abffc0563af (patch) | |
tree | 6558c6f03ccc21e7138d23861f80e8d97b09e60e /src/dxfdata.h | |
parent | 7541854212d6c1223e015faf55a6ca0657a1c184 (diff) | |
parent | cb56f700b1b0f4ae589da62a5fd1d4e368deb604 (diff) |
merge master
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; |