Spotted by Norman Vine - fixed typo in intersect visitor.

This commit is contained in:
Robert Osfield
2003-06-25 08:50:57 +00:00
parent 367750997b
commit 277b6cf24a

View File

@@ -530,7 +530,7 @@ bool IntersectVisitor::intersect(Drawable& drawable)
osg::Vec3* first = &(vertices->front());
if (triHit._v1) hit._vecIndexList.push_back(triHit._v1-first);
if (triHit._v2) hit._vecIndexList.push_back(triHit._v2-first);
if (triHit._v2) hit._vecIndexList.push_back(triHit._v3-first);
if (triHit._v3) hit._vecIndexList.push_back(triHit._v3-first);
}
}