Hello Renan,

>         About the first error: I was told that the 'intersections' was an
> array, so that's why I have used it in the function call as it is. Once
> again, thanks for your help.

Once again, I refer you to the doxygen. If you look at the page for  
osgUtil::LineSegmentIntersector, you will see Intersections is

typedef std::multiset< Intersection >   Intersections

so since it's an object allocated on the stack (and not a pointer) you  
need to pass it by reference if the function will modify it.

J-S
-- 
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                         http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to