mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06: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:
parent
100386c699
commit
4a2da3d443
4 changed files with 11 additions and 7 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue