mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user