Fixes to Doxygen files from Neil.

Removed unused set/getReportMode() methods and member variables from IntersectVisitor.

Added deep copy construction of Geometry objects.
This commit is contained in:
Robert Osfield
2002-07-25 21:50:08 +00:00
parent 7a4c43c06e
commit 95bdcfc3f6
7 changed files with 43 additions and 21 deletions

View File

@@ -140,13 +140,13 @@ IntersectVisitor::IntersectVisitor()
{
// overide the default node visitor mode.
setTraversalMode(NodeVisitor::TRAVERSE_ACTIVE_CHILDREN);
reset();
}
IntersectVisitor::~IntersectVisitor()
{
_hitReportingMode = ONLY_NEAREST_HIT;
}
@@ -476,6 +476,7 @@ bool IntersectVisitor::intersect(Drawable& drawable)
hit._intersectNormal = thitr->second.second;
_segHitList[sitr->first.get()].push_back(hit);
std::sort(_segHitList[sitr->first.get()].begin(),_segHitList[sitr->first.get()].end());
hitFlag = true;