summaryrefslogtreecommitdiff
path: root/src/dxfdata.h
diff options
context:
space:
mode:
authorBrad Pitcher <bradpitcher@gmail.com>2011-11-01 17:15:35 (GMT)
committerBrad Pitcher <bradpitcher@gmail.com>2011-11-01 17:15:35 (GMT)
commite2caf3726d68ff1fef63113519049abffc0563af (patch)
tree6558c6f03ccc21e7138d23861f80e8d97b09e60e /src/dxfdata.h
parent7541854212d6c1223e015faf55a6ca0657a1c184 (diff)
parentcb56f700b1b0f4ae589da62a5fd1d4e368deb604 (diff)
merge master
Diffstat (limited to 'src/dxfdata.h')
-rw-r--r--src/dxfdata.h8
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;
contact: Jan Huwald // Impressum