Trying to fix compilation of IGL AABB tree on 32 bit platform.

Removing alignment constraints from Eigen Matrix aliases.
This commit is contained in:
tamasmeszaros 2018-11-08 16:40:47 +01:00
parent 100386c699
commit 4a2da3d443
4 changed files with 11 additions and 7 deletions

View file

@ -74,11 +74,13 @@ struct Controller {
/// An index-triangle structure for libIGL functions. Also serves as an
/// alternative (raw) input format for the SLASupportTree
struct EigenMesh3D {
Eigen::MatrixXd V;
Eigen::MatrixXi F;
// Eigen::MatrixXd V;
// Eigen::MatrixXi F;
Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::DontAlign> V;
Eigen::Matrix<int, Eigen::Dynamic, Eigen::Dynamic, Eigen::DontAlign> F;
};
using PointSet = Eigen::MatrixXd;
using PointSet = Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::DontAlign>; //Eigen::MatrixXd;
/* ************************************************************************** */
/* TODO: May not be needed: */