summaryrefslogtreecommitdiff
path: root/src/dxfdata.h
diff options
context:
space:
mode:
authorBrad Pitcher <bradpitcher@gmail.com>2011-11-01 18:29:29 (GMT)
committerBrad Pitcher <bradpitcher@gmail.com>2011-11-01 18:29:29 (GMT)
commit0eacddfd8148f14ee0ddfe2eb66b82774c88afbe (patch)
tree6982ea59564090ea858d12d86d3699e83887f1f9 /src/dxfdata.h
parentea7e4988d44249946b620d5973b230cf1a0606ca (diff)
parente2caf3726d68ff1fef63113519049abffc0563af (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