prefer prefix ++/-- operators for non-primitive types
parent
d7b3b344f6
commit
3ef0860f30
|
@ -128,7 +128,7 @@ void ProcessPolygonBoundaries(TempMesh& result, const TempMesh& inmesh, size_t m
|
||||||
outer_polygon_it = begin + master_bounds;
|
outer_polygon_it = begin + master_bounds;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
for(iit = begin; iit != end; iit++) {
|
for(iit = begin; iit != end; ++iit) {
|
||||||
// find the polygon with the largest area and take it as the outer bound.
|
// find the polygon with the largest area and take it as the outer bound.
|
||||||
IfcVector3& n = normals[std::distance(begin,iit)];
|
IfcVector3& n = normals[std::distance(begin,iit)];
|
||||||
const IfcFloat area = n.SquareLength();
|
const IfcFloat area = n.SquareLength();
|
||||||
|
|
Loading…
Reference in New Issue