Added forward declaration of callbacks to headers to avoid scoping issues of classes with same names.
This commit is contained in:
@@ -75,6 +75,9 @@ class OSGSHADOW_EXPORT DebugShadowMap : public ViewDependentShadowTechnique
|
||||
/** Classic protected OSG destructor */
|
||||
virtual ~DebugShadowMap();
|
||||
|
||||
// forward declare, interface and implementation provided in DebugShadowMap.cpp
|
||||
class DrawableDrawWithDepthShadowComparisonOffCallback;
|
||||
|
||||
osg::Vec2s _hudSize;
|
||||
osg::Vec2s _hudOrigin;
|
||||
osg::Vec2s _viewportSize;
|
||||
|
||||
@@ -94,6 +94,9 @@ class OSGSHADOW_EXPORT ShadowMap : public ShadowTechnique
|
||||
virtual void createUniforms();
|
||||
|
||||
virtual void createShaders();
|
||||
|
||||
// forward declare, interface and implementation provided in ShadowMap.cpp
|
||||
class DrawableDrawWithDepthShadowComparisonOffCallback;
|
||||
|
||||
osg::ref_ptr<osg::Camera> _camera;
|
||||
osg::ref_ptr<osg::TexGen> _texgen;
|
||||
|
||||
Reference in New Issue
Block a user