From 41d4a1986548e66a652221e4a68c52900474eeff Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Apr 2019 08:24:14 +0200 Subject: ClangFormat: format '#if 0' code in source/ --- source/blender/freestyle/intern/winged_edge/WEdge.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'source/blender/freestyle/intern/winged_edge/WEdge.h') diff --git a/source/blender/freestyle/intern/winged_edge/WEdge.h b/source/blender/freestyle/intern/winged_edge/WEdge.h index 79c6a24e6d9..f645c3d7520 100644 --- a/source/blender/freestyle/intern/winged_edge/WEdge.h +++ b/source/blender/freestyle/intern/winged_edge/WEdge.h @@ -368,10 +368,10 @@ class WEdge; class WOEdge { protected: #if 0 - WOEdge *_paCWEdge; // edge reached when traveling clockwise on aFace from the edge - WOEdge *_pbCWEdge; // edge reached when traveling clockwise on bFace from the edge - WOEdge *_paCCWEdge; // edge reached when traveling counterclockwise on aFace from the edge - WOEdge *_pbCCWEdge; // edge reached when traveling counterclockwise on bFace from the edge + WOEdge *_paCWEdge; // edge reached when traveling clockwise on aFace from the edge + WOEdge *_pbCWEdge; // edge reached when traveling clockwise on bFace from the edge + WOEdge *_paCCWEdge; // edge reached when traveling counterclockwise on aFace from the edge + WOEdge *_pbCCWEdge; // edge reached when traveling counterclockwise on bFace from the edge #endif WVertex *_paVertex; // starting vertex WVertex *_pbVertex; // ending vertex @@ -1099,7 +1099,7 @@ class WShape { } #if 0 - inline void bbox(Vec3f& min, Vec3f& max) + inline void bbox(Vec3f &min, Vec3f &max) { min = _min; max = _max; @@ -1160,7 +1160,7 @@ class WShape { } #if 0 - inline void setBBox(const Vec3f& min, const Vec3f& max) + inline void setBBox(const Vec3f &min, const Vec3f &max) { _min = min; _max = max; @@ -1275,7 +1275,9 @@ class WShape { _max = _VertexList[0]->GetVertex(); Vec3f v; - for (vector::iterator wv = _VertexList.begin(), wvend = _VertexList.end(); wv != wvend; wv++) { + for (vector::iterator wv = _VertexList.begin(), wvend = _VertexList.end(); + wv != wvend; + wv++) { for (unsigned int i = 0; i < 3; i++) { v = (*wv)->GetVertex(); if (v[i] < _min[i]) -- cgit v1.2.3