This should be STL vector.

for (unsigned int i=0; i<HitList.size(); ++i)
 myHit = HitList.at(i);

-Nick


On Tue, Jun 22, 2010 at 8:06 AM, John Galt <[email protected]> wrote:

> 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
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=29242#29242
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to