Skip to content

Commit

Permalink
sort-of fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elalish committed Oct 8, 2024
1 parent aabec2b commit b4d6b2e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,8 @@ bool Manifold::Impl::Internal(int halfedge) const {
const double area = glm::length(normal);
const double areaPair = glm::length(glm::cross(pairVec, jointVec));
// Don't link degenerate triangles
// if (area < length * precision_ || areaPair < lengthPair *
// precision_)
// return;
if (area < length * precision_ || areaPair < lengthPair * precision_)
return false;

const double volume = std::abs(glm::dot(normal, pairVec));
// Only operate on coplanar triangles
Expand Down

0 comments on commit b4d6b2e

Please sign in to comment.