Ran script to remove trailing spaces and tabs

This commit is contained in:
Robert Osfield
2012-03-21 17:36:20 +00:00
parent 1e35f8975d
commit 14a563dc9f
1495 changed files with 21873 additions and 21873 deletions

View File

@@ -58,32 +58,32 @@ class OSGSHADOW_EXPORT SoftShadowMap : public ShadowMap
unsigned int getJitterTextureUnit() const { return _jitterTextureUnit; }
/** Add a small bias to the z-value, this can reduce
* shadow acne problem.
/** Add a small bias to the z-value, this can reduce
* shadow acne problem.
* This is the same as calling setPolygonOffset(osg::Vec2(bias,0));
* Suitable values are 0-0.005
* Suitable values are 0-0.005
* Default is 0. */
void setBias(float bias) { setPolygonOffset(osg::Vec2(bias,0)); }
/** Return the bias value */
float getBias() const { return getPolygonOffset().x(); }
protected:
virtual ~SoftShadowMap(void) {};
/** Create the managed Uniforms */
void createUniforms();
void createShaders();
void initJittering(osg::StateSet *ss);
osg::ref_ptr<osg::Uniform> _softnessWidthUniform;
osg::ref_ptr<osg::Uniform> _jitteringScaleUniform;
float _softnessWidth;
float _jitteringScale;
unsigned int _jitterTextureUnit;
};