Hi,
Thanks for the help guys. It worked.
Alberto, I considered using IntersectionVisitor at first but found tutorials
and examples that use IntersectVisitor so I decided to stick with it.
Thank you!
Cheers,
John
--
Read this topic online here:
Hi,
If my HitList contains multiple hits, how do I extract all of them starting
from the first to the last?
I can extract the first and the last hits using HitList.front() and
HitList.back() but I am having trouble with extracting the other hits in
between them.
Thank you!
Cheers,
John
This should be STL vector.
for (unsigned int i=0; iHitList.size(); ++i)
myHit = HitList.at(i);
-Nick
On Tue, Jun 22, 2010 at 8:06 AM, John Galt manu9ak...@gmail.com wrote:
Hi,
If my HitList contains multiple hits, how do I extract all of them starting
from the first to the last?
I can
Hi John,
John Galt writes:
I can extract the first and the last hits using HitList.front() and
HitList.back() but I am having trouble with extracting the other hits in
between them.
From include/osgUtil/IntersectVisitor, line 110:
typedef std::vectorHit HitList;
So HitList is a vector,
4 matches
Mail list logo