Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
df5e7f30
Commit
df5e7f30
authored
Dec 14, 2011
by
Sebastian Eichelbaum
Browse files
[STYLE]
parent
e6bf8ef5
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
5 additions
and
9 deletions
+5
-9
src/core/graphicsEngine/postprocessing/WGEPostprocessor.cpp
src/core/graphicsEngine/postprocessing/WGEPostprocessor.cpp
+2
-0
src/core/graphicsEngine/postprocessing/WGEPostprocessor.h
src/core/graphicsEngine/postprocessing/WGEPostprocessor.h
+2
-2
src/core/graphicsEngine/postprocessing/WGEPostprocessorCelShading.h
...raphicsEngine/postprocessing/WGEPostprocessorCelShading.h
+0
-1
src/core/graphicsEngine/postprocessing/WGEPostprocessorEdgeEnhance.h
...aphicsEngine/postprocessing/WGEPostprocessorEdgeEnhance.h
+0
-1
src/core/graphicsEngine/postprocessing/WGEPostprocessorLineAO.h
...re/graphicsEngine/postprocessing/WGEPostprocessorLineAO.h
+0
-1
src/core/graphicsEngine/postprocessing/WGEPostprocessorSSAO.cpp
...re/graphicsEngine/postprocessing/WGEPostprocessorSSAO.cpp
+0
-1
src/core/graphicsEngine/postprocessing/WGEPostprocessorSSAO.h
...core/graphicsEngine/postprocessing/WGEPostprocessorSSAO.h
+0
-1
src/core/graphicsEngine/shaders/shaders/WGEPostprocessorCombiner-fragment.glsl
...ne/shaders/shaders/WGEPostprocessorCombiner-fragment.glsl
+0
-1
tools/style/brainlint/brainlint.py
tools/style/brainlint/brainlint.py
+1
-1
No files found.
src/core/graphicsEngine/postprocessing/WGEPostprocessor.cpp
View file @
df5e7f30
...
...
@@ -22,6 +22,8 @@
//
//---------------------------------------------------------------------------
#include <string>
#include "WGEPostprocessorEdgeEnhance.h"
#include "WGEPostprocessorCelShading.h"
#include "WGEPostprocessorSSAO.h"
...
...
src/core/graphicsEngine/postprocessing/WGEPostprocessor.h
View file @
df5e7f30
...
...
@@ -188,7 +188,8 @@ protected:
* \param name a name for this postprocessor
* \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
...
...
@@ -215,7 +216,6 @@ protected:
*/
WGEShaderPreprocessor
::
SPtr
m_effectOnlyPreprocessor
;
private:
/**
* Name string. Set by the constructor.
*/
...
...
src/core/graphicsEngine/postprocessing/WGEPostprocessorCelShading.h
View file @
df5e7f30
...
...
@@ -35,7 +35,6 @@
class
WGEPostprocessorCelShading
:
public
WGEPostprocessor
{
public:
/**
* Convenience typedef for a boost::shared_ptr< WGEPostprocessorCelShading >.
*/
...
...
src/core/graphicsEngine/postprocessing/WGEPostprocessorEdgeEnhance.h
View file @
df5e7f30
...
...
@@ -35,7 +35,6 @@
class
WGEPostprocessorEdgeEnhance
:
public
WGEPostprocessor
{
public:
/**
* Convenience typedef for a boost::shared_ptr< WGEPostprocessorEdgeEnhance >.
*/
...
...
src/core/graphicsEngine/postprocessing/WGEPostprocessorLineAO.h
View file @
df5e7f30
...
...
@@ -35,7 +35,6 @@
class
WGEPostprocessorLineAO
:
public
WGEPostprocessor
{
public:
/**
* Convenience typedef for a boost::shared_ptr< WGEPostprocessorLineAO >.
*/
...
...
src/core/graphicsEngine/postprocessing/WGEPostprocessorSSAO.cpp
View file @
df5e7f30
...
...
@@ -42,7 +42,6 @@ WGEPostprocessorSSAO::WGEPostprocessorSSAO( osg::ref_ptr< WGEOffscreenRenderNode
"SSAO"
,
"SSAO is a special ambient occlusion technique."
)
{
// 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 "
"quality but can reduce FPS dramatically."
,
16
);
...
...
src/core/graphicsEngine/postprocessing/WGEPostprocessorSSAO.h
View file @
df5e7f30
...
...
@@ -35,7 +35,6 @@
class
WGEPostprocessorSSAO
:
public
WGEPostprocessor
{
public:
/**
* Convenience typedef for a boost::shared_ptr< WGEPostprocessorSSAO >.
*/
...
...
src/core/graphicsEngine/shaders/shaders/WGEPostprocessorCombiner-fragment.glsl
View file @
df5e7f30
//---------------------------------------------------------------------------
//
// Project: OpenWalnut ( http://www.openwalnut.org )
...
...
tools/style/brainlint/brainlint.py
View file @
df5e7f30
...
...
@@ -2350,7 +2350,7 @@ def CheckStyle(filename, clean_lines, linenum, file_extension, class_state,
line_width
=
GetLineWidth
(
line
)
if
line_width
>
150
:
error
(
filename
,
linenum
,
'whitespace/line_length'
,
4
,
'Lines should very rarely be longer than 1
0
0 characters'
)
'Lines should very rarely be longer than 1
5
0 characters'
)
elif
line_width
>
150
:
error
(
filename
,
linenum
,
'whitespace/line_length'
,
2
,
'Lines should be <= 150 characters long'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment