- Bugfix: IFC loader tested squared length against non-squared epsilon in RemoveDegenerates()

This commit is contained in:
ulf
2015-03-03 15:56:09 +01:00
parent b71ded1ad0
commit 0cdc528e01
2 changed files with 2 additions and 2 deletions

View File

@@ -381,7 +381,7 @@ bool PointInPoly(const IfcVector3& p, const std::vector<IfcVector3>& boundary)
IntersectsBoundaryProfile(p, p + IfcVector3(0.6, -0.6, 0.0), boundary, true, intersected_boundary, true);
votes += intersected_boundary.size() % 2;
ai_assert(votes == 3 || votes == 0);
// ai_assert(votes == 3 || votes == 0);
return votes > 1;
}