|
if (view->computeIntersections(x,y,intersections))
{
for (osgUtil:ineSegmentIntersector::Intersections::iterator hitr=intersections.begin();
hitr!=intersections.end();++hitr)
{
//os<<hitr->nodePath.back()->getName()<<std::endl;
}
请问一下如何得到intersections列表中的第二个元素?
谢谢 |
|