Moved push/popCulling set it public scope.

This commit is contained in:
Robert Osfield 2009-01-28 15:15:19 +00:00
parent ef9987559e
commit ac264a4a0c

View File

@ -39,6 +39,9 @@ class OSG_EXPORT CullStack : public osg::CullSettings
void reset(); void reset();
void pushCullingSet();
void popCullingSet();
void setOccluderList(const ShadowVolumeOccluderList& svol) { _occluderList = svol; } void setOccluderList(const ShadowVolumeOccluderList& svol) { _occluderList = svol; }
ShadowVolumeOccluderList& getOccluderList() { return _occluderList; } ShadowVolumeOccluderList& getOccluderList() { return _occluderList; }
const ShadowVolumeOccluderList& getOccluderList() const { return _occluderList; } const ShadowVolumeOccluderList& getOccluderList() const { return _occluderList; }
@ -158,12 +161,8 @@ class OSG_EXPORT CullStack : public osg::CullSettings
} }
protected: protected:
void pushCullingSet();
void popCullingSet();
// base set of shadow volume occluder to use in culling. // base set of shadow volume occluder to use in culling.
ShadowVolumeOccluderList _occluderList; ShadowVolumeOccluderList _occluderList;