diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2020-09-04 21:59:13 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2020-09-04 22:04:16 +0300 |
commit | 2115232a16d81d28dbdb8042ed8e9316858514c6 (patch) | |
tree | 1aeb7354a85b21b43a3ede7bf2980c172d4eec82 /source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp | |
parent | e43d482cc93c64d55b1f58178db68551077e6560 (diff) |
Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix
No functional changes
Diffstat (limited to 'source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp')
-rw-r--r-- | source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp b/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp index 96375407256..abe3871c395 100644 --- a/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp +++ b/source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.cpp @@ -89,10 +89,10 @@ int CalligraphicShader::shade(Stroke &ioStroke) const static const unsigned NB_VALUE_NOISE = 512; SpatialNoiseShader::SpatialNoiseShader( - float ioamount, float ixScale, int nbOctave, bool smooth, bool pureRandom) + float iAmount, float ixScale, int nbOctave, bool smooth, bool pureRandom) : StrokeShader() { - _amount = ioamount; + _amount = iAmount; if (ixScale == 0) { _xScale = 0; } @@ -161,7 +161,7 @@ int SpatialNoiseShader::shade(Stroke &ioStroke) const // ///////////////////////////////////////// -SmoothingShader::SmoothingShader(int ionbIteration, +SmoothingShader::SmoothingShader(int iNbIteration, real iFactorPoint, real ifactorCurvature, real iFactorCurvatureDifference, @@ -171,7 +171,7 @@ SmoothingShader::SmoothingShader(int ionbIteration, real iCarricatureFactor) : StrokeShader() { - _nbIterations = ionbIteration; + _nbIterations = iNbIteration; _factorCurvature = ifactorCurvature; _factorCurvatureDifference = iFactorCurvatureDifference; _anisoNormal = iAnisoNormal; |