From af1b539132d7917b3682217c0a2167ae77c758e4 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 27 Oct 2005 11:15:25 +0000 Subject: [PATCH] Added documentation line about 32 being the maximum permitted number of line segmenets --- include/osgUtil/IntersectVisitor | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/osgUtil/IntersectVisitor b/include/osgUtil/IntersectVisitor index 12f873e62..1414eb81c 100644 --- a/include/osgUtil/IntersectVisitor +++ b/include/osgUtil/IntersectVisitor @@ -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 HitList;