Added documentation line about 32 being the maximum permitted number of line segmenets

This commit is contained in:
Robert Osfield
2005-10-27 11:15:25 +00:00
parent 96a88f968a
commit af1b539132

View File

@@ -103,7 +103,10 @@ class OSGUTIL_EXPORT IntersectVisitor : public osg::NodeVisitor
void reset();
/** Add a line segment to use for intersection testing during scene traversal.*/
/** Add a line segment to use for intersection testing during scene traversal.
* Note, a maximum of 32 line segments can be added to a IntersectVistor,
* adding more than this will result in warning being emitted to the console
* and the excess segments being ignored.*/
void addLineSegment(osg::LineSegment* seg);
typedef std::vector<Hit> HitList;