Removed unused class
This commit is contained in:
parent
fee45b7c46
commit
771efca5c6
@ -928,33 +928,6 @@ void MultipassTechnique::backfaceSubgraphCullTraversal(osgUtil::CullVisitor* cv)
|
|||||||
cv->popStateSet();
|
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
|
class ShadingModelVisitor : public osgVolume::PropertyVisitor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user