Removed _traverseNumber variable that was duplicating the one in NodeVisitor base class

This commit is contained in:
Robert Osfield 2018-05-13 09:18:31 +01:00
parent 66251abd38
commit 00a946bc2e
2 changed files with 0 additions and 4 deletions

View File

@ -354,8 +354,6 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor, public osg::CullStac
RenderBin* _currentRenderBin;
std::vector<RenderBin*> _renderBinStack;
unsigned int _traversalNumber;
value_type _computed_znear;
value_type _computed_zfar;

View File

@ -48,7 +48,6 @@ CullVisitor::CullVisitor():
osg::NodeVisitor(CULL_VISITOR,TRAVERSE_ACTIVE_CHILDREN),
_currentStateGraph(NULL),
_currentRenderBin(NULL),
_traversalNumber(0),
_computed_znear(FLT_MAX),
_computed_zfar(-FLT_MAX),
_currentReuseRenderLeafIndex(0),
@ -63,7 +62,6 @@ CullVisitor::CullVisitor(const CullVisitor& rhs):
CullStack(rhs),
_currentStateGraph(NULL),
_currentRenderBin(NULL),
_traversalNumber(0),
_computed_znear(FLT_MAX),
_computed_zfar(-FLT_MAX),
_currentReuseRenderLeafIndex(0),