assert: remove assert with more than one statement and use only ai_assert.

This commit is contained in:
Kim Kulling
2017-08-14 22:20:26 +02:00
parent 974eb669c8
commit dab0985994
13 changed files with 30 additions and 31 deletions

View File

@@ -381,7 +381,6 @@ 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);
return votes > 1;
}