diff --git a/include/osgUtil/CullVisitor b/include/osgUtil/CullVisitor index 42d31acf5..97d1daad4 100644 --- a/include/osgUtil/CullVisitor +++ b/include/osgUtil/CullVisitor @@ -204,8 +204,10 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor, public osg::CullStac _currentRenderBin = rb; } + void setCalculatedNearPlane(value_type value) { _computed_znear = value; } inline value_type getCalculatedNearPlane() const { return _computed_znear; } + void setCalculatedFarPlane(value_type value) { _computed_zfar = value; } inline value_type getCalculatedFarPlane() const { return _computed_zfar; } value_type computeNearestPointInFrustum(const osg::Matrix& matrix, const osg::Polytope::PlaneList& planes,const osg::Drawable& drawable);