Ran dos2unix
This commit is contained in:
parent
9cce90e920
commit
df12c7bc68
@ -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<osg::Camera> _cameraDebugHUD;
|
||||
osg::ref_ptr<osg::Camera> _cameraDebugHUD;
|
||||
|
||||
bool getDebugDraw() { return *_doDebugDrawPtr; }
|
||||
bool getDebugDraw() { return *_doDebugDrawPtr; }
|
||||
|
||||
virtual void init( ThisClass * st, osgUtil::CullVisitor * cv );
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 );
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user