Removed unused class

This commit is contained in:
Robert Osfield 2017-01-16 17:18:58 +00:00
parent fee45b7c46
commit 771efca5c6

View File

@ -928,33 +928,6 @@ void MultipassTechnique::backfaceSubgraphCullTraversal(osgUtil::CullVisitor* cv)
cv->popStateSet();
}
class RTTBackfaceCameraCullCallback : public osg::NodeCallback
{
public:
RTTBackfaceCameraCullCallback(MultipassTechnique::MultipassTileData* tileData, MultipassTechnique* mt):
_tileData(tileData),
_mt(mt) {}
virtual void operator()(osg::Node* /*node*/, osg::NodeVisitor* nv)
{
osgUtil::CullVisitor* cv = nv->asCullVisitor();
cv->pushProjectionMatrix(_tileData->projectionMatrix.get());
_mt->backfaceSubgraphCullTraversal(cv);
cv->popProjectionMatrix();
}
protected:
virtual ~RTTBackfaceCameraCullCallback() {}
osg::observer_ptr<osgVolume::MultipassTechnique::MultipassTileData> _tileData;
osg::observer_ptr<osgVolume::MultipassTechnique> _mt;
};
class ShadingModelVisitor : public osgVolume::PropertyVisitor
{
public: