1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-12 08:14:26 +00:00

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
+4 -2
View File
@@ -76,8 +76,10 @@ size_t SpatIndex::size() const
}
PointSet normals(const PointSet& points, const EigenMesh3D& mesh) {
Eigen::VectorXd dists;
Eigen::VectorXi I;
// Eigen::VectorXd dists;
// Eigen::VectorXi I;
Eigen::Matrix<double, Eigen::Dynamic, 1, Eigen::DontAlign> dists;
Eigen::Matrix<int, Eigen::Dynamic, 1, Eigen::DontAlign> I;
PointSet C;
igl::point_mesh_squared_distance( points, mesh.V, mesh.F, dists, I, C);