Commit df5e7f30 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[STYLE]

parent e6bf8ef5
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include <string>
#include "WGEPostprocessorEdgeEnhance.h" #include "WGEPostprocessorEdgeEnhance.h"
#include "WGEPostprocessorCelShading.h" #include "WGEPostprocessorCelShading.h"
#include "WGEPostprocessorSSAO.h" #include "WGEPostprocessorSSAO.h"
......
...@@ -188,7 +188,8 @@ protected: ...@@ -188,7 +188,8 @@ protected:
* \param name a name for this postprocessor * \param name a name for this postprocessor
* \param description a useful description * \param description a useful description
*/ */
WGEPostprocessor( osg::ref_ptr< WGEOffscreenRenderNode > offscreen, const PostprocessorInput& gbuffer, std::string name, std::string description ); WGEPostprocessor( osg::ref_ptr< WGEOffscreenRenderNode > offscreen, const PostprocessorInput& gbuffer,
std::string name, std::string description );
/** /**
* The texture contains the result * The texture contains the result
...@@ -215,7 +216,6 @@ protected: ...@@ -215,7 +216,6 @@ protected:
*/ */
WGEShaderPreprocessor::SPtr m_effectOnlyPreprocessor; WGEShaderPreprocessor::SPtr m_effectOnlyPreprocessor;
private: private:
/** /**
* Name string. Set by the constructor. * Name string. Set by the constructor.
*/ */
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
class WGEPostprocessorCelShading: public WGEPostprocessor class WGEPostprocessorCelShading: public WGEPostprocessor
{ {
public: public:
/** /**
* Convenience typedef for a boost::shared_ptr< WGEPostprocessorCelShading >. * Convenience typedef for a boost::shared_ptr< WGEPostprocessorCelShading >.
*/ */
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
class WGEPostprocessorEdgeEnhance: public WGEPostprocessor class WGEPostprocessorEdgeEnhance: public WGEPostprocessor
{ {
public: public:
/** /**
* Convenience typedef for a boost::shared_ptr< WGEPostprocessorEdgeEnhance >. * Convenience typedef for a boost::shared_ptr< WGEPostprocessorEdgeEnhance >.
*/ */
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
class WGEPostprocessorLineAO: public WGEPostprocessor class WGEPostprocessorLineAO: public WGEPostprocessor
{ {
public: public:
/** /**
* Convenience typedef for a boost::shared_ptr< WGEPostprocessorLineAO >. * Convenience typedef for a boost::shared_ptr< WGEPostprocessorLineAO >.
*/ */
......
...@@ -42,7 +42,6 @@ WGEPostprocessorSSAO::WGEPostprocessorSSAO( osg::ref_ptr< WGEOffscreenRenderNode ...@@ -42,7 +42,6 @@ WGEPostprocessorSSAO::WGEPostprocessorSSAO( osg::ref_ptr< WGEOffscreenRenderNode
"SSAO", "SSAO",
"SSAO is a special ambient occlusion technique." ) "SSAO is a special ambient occlusion technique." )
{ {
// the SSAO algorithm has some parameters. Provide these parameters to the user // the SSAO algorithm has some parameters. Provide these parameters to the user
WPropInt ssaoSamples = m_properties->addProperty( "Samples", "The number of samples to take in screen-space. Higher values produce better " WPropInt ssaoSamples = m_properties->addProperty( "Samples", "The number of samples to take in screen-space. Higher values produce better "
"quality but can reduce FPS dramatically.", 16 ); "quality but can reduce FPS dramatically.", 16 );
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
class WGEPostprocessorSSAO: public WGEPostprocessor class WGEPostprocessorSSAO: public WGEPostprocessor
{ {
public: public:
/** /**
* Convenience typedef for a boost::shared_ptr< WGEPostprocessorSSAO >. * Convenience typedef for a boost::shared_ptr< WGEPostprocessorSSAO >.
*/ */
......
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// //
// Project: OpenWalnut ( http://www.openwalnut.org ) // Project: OpenWalnut ( http://www.openwalnut.org )
......
...@@ -2350,7 +2350,7 @@ def CheckStyle(filename, clean_lines, linenum, file_extension, class_state, ...@@ -2350,7 +2350,7 @@ def CheckStyle(filename, clean_lines, linenum, file_extension, class_state,
line_width = GetLineWidth(line) line_width = GetLineWidth(line)
if line_width > 150: if line_width > 150:
error(filename, linenum, 'whitespace/line_length', 4, error(filename, linenum, 'whitespace/line_length', 4,
'Lines should very rarely be longer than 100 characters') 'Lines should very rarely be longer than 150 characters')
elif line_width > 150: elif line_width > 150:
error(filename, linenum, 'whitespace/line_length', 2, error(filename, linenum, 'whitespace/line_length', 2,
'Lines should be <= 150 characters long') 'Lines should be <= 150 characters long')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment