diff --git a/include/osgShadow/DebugShadowMap b/include/osgShadow/DebugShadowMap index 8b1881ec3..bed69df1c 100644 --- a/include/osgShadow/DebugShadowMap +++ b/include/osgShadow/DebugShadowMap @@ -117,8 +117,8 @@ class OSGSHADOW_EXPORT DebugShadowMap : public ViewDependentShadowTechnique typedef std::map< std::string, PolytopeGeometry > PolytopeGeometryMap; - osg::Vec2s _hudSize; - osg::Vec2s _hudOrigin; + osg::Vec2s _hudSize; + osg::Vec2s _hudOrigin; osg::Vec2s _viewportSize; osg::Vec2s _viewportOrigin; osg::Vec2s _orthoSize; @@ -126,7 +126,7 @@ class OSGSHADOW_EXPORT DebugShadowMap : public ViewDependentShadowTechnique bool *_doDebugDrawPtr; - PolytopeGeometryMap _polytopeGeometryMap; + PolytopeGeometryMap _polytopeGeometryMap; osg::ref_ptr< osg::Geode > _geode[2]; osg::ref_ptr< osg::MatrixTransform > _transform[2]; @@ -134,9 +134,9 @@ class OSGSHADOW_EXPORT DebugShadowMap : public ViewDependentShadowTechnique std::map< std::string, osg::Polytope > _polytopeMap; std::map< std::string, osg::BoundingBox > _boundingBoxMap; - osg::ref_ptr _cameraDebugHUD; + osg::ref_ptr _cameraDebugHUD; - bool getDebugDraw() { return *_doDebugDrawPtr; } + bool getDebugDraw() { return *_doDebugDrawPtr; } virtual void init( ThisClass * st, osgUtil::CullVisitor * cv ); diff --git a/include/osgShadow/MinimalShadowMap b/include/osgShadow/MinimalShadowMap index 5ff53cf5e..569b12e17 100644 --- a/include/osgShadow/MinimalShadowMap +++ b/include/osgShadow/MinimalShadowMap @@ -129,7 +129,7 @@ class OSGSHADOW_EXPORT MinimalShadowMap : public StandardShadowMap osg::BoundingBox(-1,-1,-1,1,1,1) ); osg::BoundingBox computeScenePolytopeBounds - ( const osg::Matrix & m = *(osg::Matrix*)(NULL) ); + ( const osg::Matrix & m = *(osg::Matrix*)(NULL) ); // Utility methods for adjusting projection matrices diff --git a/include/osgShadow/ProjectionShadowMap b/include/osgShadow/ProjectionShadowMap index b19cdc190..94b6207d2 100644 --- a/include/osgShadow/ProjectionShadowMap +++ b/include/osgShadow/ProjectionShadowMap @@ -54,9 +54,9 @@ class OSGSHADOW_EXPORT ProjectionShadowMap : public MinimalBoundsBaseClass struct ViewData: public BaseClass::ViewData, public ShadowProjectionAlgorithmClass - { + { #if 0 - virtual void init( ThisClass * st, osgUtil::CullVisitor * cv ); + virtual void init( ThisClass * st, osgUtil::CullVisitor * cv ); { BaseClass::ViewData::init( st, cv ); } diff --git a/include/osgShadow/StandardShadowMap b/include/osgShadow/StandardShadowMap index 06d3e50f1..a8359260b 100644 --- a/include/osgShadow/StandardShadowMap +++ b/include/osgShadow/StandardShadowMap @@ -139,7 +139,7 @@ class OSGSHADOW_EXPORT StandardShadowMap : public DebugShadowMap osg::ref_ptr< osg::Light > _light; float _polygonOffsetFactor; float _polygonOffsetUnits; - osg::Vec2s _textureSize; + osg::Vec2s _textureSize; unsigned int _baseTextureUnit; unsigned int _shadowTextureUnit; unsigned int _baseTextureCoordIndex; diff --git a/include/osgShadow/ViewDependentShadowTechnique b/include/osgShadow/ViewDependentShadowTechnique index cba472cea..55f53980c 100644 --- a/include/osgShadow/ViewDependentShadowTechnique +++ b/include/osgShadow/ViewDependentShadowTechnique @@ -203,7 +203,7 @@ class OSGSHADOW_EXPORT ViewDependentShadowTechnique typedef std::map< osg::ref_ptr< osgUtil::CullVisitor >, osg::ref_ptr< ViewData > > ViewDataMap; - ViewDataMap _viewDataMap; + ViewDataMap _viewDataMap; /**