bounding box incorrect

This commit is contained in:
mattijs
2008-06-05 13:05:55 +01:00
parent 15fea54f38
commit ef69bc6c61

View File

@ -1214,7 +1214,11 @@ void triSurface::writeStats(Ostream& os) const
{ {
// Calculate bounding box without any additional addressing // Calculate bounding box without any additional addressing
// Copy of treeBoundBox code. Cannot use meshTools from triSurface... // Copy of treeBoundBox code. Cannot use meshTools from triSurface...
boundBox bb; boundBox bb
(
point(VGREAT, VGREAT, VGREAT),
point(-VGREAT, -VGREAT, -VGREAT)
);
forAll(*this, triI) forAll(*this, triI)
{ {
const labelledTri& f = operator[](triI); const labelledTri& f = operator[](triI);