summaryrefslogtreecommitdiff
path: root/src/linalg.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-08-18 22:14:17 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-08-18 22:14:17 (GMT)
commitc4d68588a6f2f39ab60055a56fbc59b87ecee2e2 (patch)
treeb25f66be274b37c7b8068f238f1ff9457b8d95e5 /src/linalg.h
parent10c7607541e502f2d0ff7c2c49fd70809704c039 (diff)
modify build system to auto-detect eigen3, and fallback to eigen2
Diffstat (limited to 'src/linalg.h')
-rw-r--r--src/linalg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linalg.h b/src/linalg.h
index eb3d22d..7f12a2e 100644
--- a/src/linalg.h
+++ b/src/linalg.h
@@ -12,10 +12,10 @@ typedef Eigen::AlignedBox<double, 3> BoundingBox;
using Eigen::Matrix3f;
using Eigen::Matrix3d;
using Eigen::Matrix4d;
-#if EIGEN_WORLD_VERSION>=3
+#if EIGEN_WORLD_VERSION >= 3
#define Transform3d Eigen::Affine3d
#else
-using Eigen::Transform3d
+using Eigen::Transform3d;
#endif
BoundingBox operator*(const Transform3d &m, const BoundingBox &box);
contact: Jan Huwald // Impressum