diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 09:24:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 09:24:14 +0300 |
commit | 41d4a1986548e66a652221e4a68c52900474eeff (patch) | |
tree | 26acf937ea0b762977f89adcc4e74a3ec9ecee62 /source/blender/freestyle/intern/stroke/Stroke.cpp | |
parent | 108045faa01849115c54190ebed788faf36dcb56 (diff) |
ClangFormat: format '#if 0' code in source/
Diffstat (limited to 'source/blender/freestyle/intern/stroke/Stroke.cpp')
-rw-r--r-- | source/blender/freestyle/intern/stroke/Stroke.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/source/blender/freestyle/intern/stroke/Stroke.cpp b/source/blender/freestyle/intern/stroke/Stroke.cpp index 7b6e53138bb..ef40865ecf1 100644 --- a/source/blender/freestyle/intern/stroke/Stroke.cpp +++ b/source/blender/freestyle/intern/stroke/Stroke.cpp @@ -834,7 +834,6 @@ Stroke::vertex_container::reverse_iterator Stroke::vertices_last(float sampling) return _Vertices.rbegin(); } - inline Vec3r shaded_color(int iCombination = 0) const; inline Vec<3, real> Stroke::orientation2d(const_vertex_iterator it) const @@ -871,7 +870,7 @@ Material Stroke::material() const int Stroke::qi() const { const_vertex_iterator v = vertices_begin(), vend = vertices_end(); - int qi_= (*v)->qi(); + int qi_ = (*v)->qi(); for (; v != vend; ++v) { if ((*v)->qi() != qi_) Exception::raiseException(); @@ -965,10 +964,9 @@ float Stroke::shape_importance(int iCombination) const return shape_importance_edge_function<Stroke>(*this, iCombination); } - -float Stroke::local_average_depth(int iCombination ) const +float Stroke::local_average_depth(int iCombination) const { - return local_average_depth_edge_function<Stroke >(*this, iCombination); + return local_average_depth_edge_function<Stroke>(*this, iCombination); } float Stroke::local_depth_variance(int iCombination) const @@ -976,7 +974,7 @@ float Stroke::local_depth_variance(int iCombination) const return local_depth_variance_edge_function<Stroke>(*this, iCombination); } -real Stroke::local_average_density(float sigma , int iCombination ) const +real Stroke::local_average_density(float sigma, int iCombination) const { return density_edge_function<Stroke>(*this, iCombination); } |