summaryrefslogtreecommitdiff
path: root/src/polyset.h
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2011-09-18 22:53:33 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2011-09-18 22:53:33 (GMT)
commit0b219ae4b46bbab5593d0ee644d7f6bcdb36d17e (patch)
tree83da7c12741a0409531657cac4a4217cf8e76727 /src/polyset.h
parent6d70855a4d92a7aafbc21fdd97c570e9ef227182 (diff)
opencsg testing
Diffstat (limited to 'src/polyset.h')
-rw-r--r--src/polyset.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/polyset.h b/src/polyset.h
index c59d86a..3cfb21a 100644
--- a/src/polyset.h
+++ b/src/polyset.h
@@ -1,11 +1,16 @@
#ifndef POLYSET_H_
#define POLYSET_H_
+#ifndef __APPLE__
+#define EIGEN_DONT_VECTORIZE 1
+#define EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT 1
+#endif
+
#include <GL/glew.h>
#include "grid.h"
-#include <vector>
#include <Eigen/Core>
#include <Eigen/Geometry>
+#include <vector>
using Eigen::Vector3d;
typedef Eigen::AlignedBox<double, 3> BoundingBox;
contact: Jan Huwald // Impressum