Added forward declaration of callbacks to headers to avoid scoping issues of classes with same names.

This commit is contained in:
Robert Osfield
2009-01-23 15:50:05 +00:00
parent 7b598c5701
commit e0c279bf3d
4 changed files with 10 additions and 3 deletions

View File

@@ -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;