Fixed set method

This commit is contained in:
Robert Osfield 2008-07-08 18:02:09 +00:00
parent 2851429333
commit ee9b23f670

View File

@ -151,7 +151,7 @@ class OSGUTIL_EXPORT IntersectionVisitor : public osg::NodeVisitor
/** Set whether the intersectors should use KdTrees when they are found on the scene graph.*/ /** Set whether the intersectors should use KdTrees when they are found on the scene graph.*/
void setUseKdTreeWhenAvailable(bool useKdTrees) { _useKdTreesWhenAvailable; } void setUseKdTreeWhenAvailable(bool useKdTrees) { _useKdTreesWhenAvailable = useKdTrees; }
/** Set whether the intersectors should use KdTrees.*/ /** Set whether the intersectors should use KdTrees.*/
bool getUseKdTreeWhenAvailable() const { return _useKdTreesWhenAvailable; } bool getUseKdTreeWhenAvailable() const { return _useKdTreesWhenAvailable; }