Skip to content

Commit

Permalink
[FIX] Fixed wrongly placed END_VISP_NAMESPACE
Browse files Browse the repository at this point in the history
  • Loading branch information
rlagneau committed Jun 4, 2024
1 parent 30eefc9 commit 14e5d4a
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions modules/tracker/mbt/include/visp3/mbt/vpMbHiddenFaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -594,13 +594,13 @@ bool vpMbHiddenFaces<PolygonType>::computeVisibility(const vpHomogeneousMatrix &
{
(void)cameraPos; // Avoid warning
testDisappear = (!Lpol[i]->isVisible(cMo, angleDisappears, false, cam, width, height));
}
}
#endif
else
testDisappear = (!Lpol[i]->isVisible(cMo, angleDisappears, false, cam, width, height));
}
}

// test if the face is still visible
// test if the face is still visible
if (testDisappear) {
// std::cout << "Face " << i << " disappears" <<
// std::endl;
Expand All @@ -614,7 +614,7 @@ bool vpMbHiddenFaces<PolygonType>::computeVisibility(const vpHomogeneousMatrix &
// if(nbCornerInsidePrev > Lpol[i]->getNbCornerInsidePrevImage())
// changed = true;
}
}
}
else {
bool testAppear = true;

Expand All @@ -641,9 +641,9 @@ bool vpMbHiddenFaces<PolygonType>::computeVisibility(const vpHomogeneousMatrix &
Lpol[i]->isvisible = false;
}
}
}
// std::cout << "Nombre de polygones visibles: " << nbVisiblePolygon <<
// std::endl;
}
// std::cout << "Nombre de polygones visibles: " << nbVisiblePolygon <<
// std::endl;
return Lpol[i]->isvisible;
}

Expand Down Expand Up @@ -942,8 +942,7 @@ bool vpMbHiddenFaces<PolygonType>::isVisibleOgre(const vpTranslationVector &came

return Lpol[index]->isvisible;
}
END_VISP_NAMESPACE

#endif // VISP_HAVE_OGRE

END_VISP_NAMESPACE
#endif // vpMbHiddenFaces

0 comments on commit 14e5d4a

Please sign in to comment.