#ifndef LINALG_H_ #define LINALG_H_ // workaround Eigen SIMD alignment problems #ifndef __APPLE__ #define EIGEN_DONT_VECTORIZE 1 #define EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT 1 #endif #ifdef _MSC_VER #define EIGEN_DONT_ALIGN #endif #include #include using Eigen::Vector3d; typedef Eigen::AlignedBox BoundingBox; using Eigen::Matrix3f; using Eigen::Matrix3d; using Eigen::Transform3d; #endif