Ran script to remove trailing spaces and tabs
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
|
||||
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
|
||||
*
|
||||
* This library is open source and may be redistributed and/or modified under
|
||||
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
|
||||
* This library is open source and may be redistributed and/or modified under
|
||||
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
|
||||
* (at your option) any later version. The full license is in LICENSE file
|
||||
* included with this distribution, and on the openscenegraph.org website.
|
||||
*
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* OpenSceneGraph Public License for more details.
|
||||
*/
|
||||
|
||||
@@ -30,9 +30,9 @@ class OSGSHADOW_EXPORT ShadowMap : public ShadowTechnique
|
||||
ShadowMap();
|
||||
|
||||
ShadowMap(const ShadowMap& es, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
|
||||
|
||||
|
||||
META_Object(osgShadow, ShadowMap);
|
||||
|
||||
|
||||
/** Set the texture unit that the shadow texture will be applied on.*/
|
||||
void setTextureUnit(unsigned int unit);
|
||||
|
||||
@@ -67,22 +67,22 @@ class OSGSHADOW_EXPORT ShadowMap : public ShadowTechnique
|
||||
|
||||
/** Add a shader to internal list, will be used instead of the default ones */
|
||||
inline void addShader(osg::Shader* shader) { _shaderList.push_back(shader); }
|
||||
|
||||
|
||||
/** Reset internal shader list */
|
||||
inline void clearShaderList() { _shaderList.clear(); }
|
||||
|
||||
/** initialize the ShadowedScene and local cached data structures.*/
|
||||
virtual void init();
|
||||
|
||||
|
||||
/** run the update traversal of the ShadowedScene and update any loca chached data structures.*/
|
||||
virtual void update(osg::NodeVisitor& nv);
|
||||
|
||||
|
||||
/** run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique.*/
|
||||
virtual void cull(osgUtil::CullVisitor& cv);
|
||||
|
||||
|
||||
/** Clean scene graph from any shadow technique specific nodes, state and drawables.*/
|
||||
virtual void cleanSceneGraph();
|
||||
|
||||
|
||||
// debug methods
|
||||
|
||||
osg::ref_ptr<osg::Camera> makeDebugHUD();
|
||||
@@ -94,7 +94,7 @@ class OSGSHADOW_EXPORT ShadowMap : public ShadowTechnique
|
||||
virtual void createUniforms();
|
||||
|
||||
virtual void createShaders();
|
||||
|
||||
|
||||
// forward declare, interface and implementation provided in ShadowMap.cpp
|
||||
class DrawableDrawWithDepthShadowComparisonOffCallback;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user