From 91a155833e59275089641b63ae9271672ac17713 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 8 Jan 2019 10:28:20 +1100 Subject: Cleanup: comments causing bad clang-format output --- source/blender/blenlib/BLI_voronoi_2d.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'source/blender/blenlib/BLI_voronoi_2d.h') diff --git a/source/blender/blenlib/BLI_voronoi_2d.h b/source/blender/blenlib/BLI_voronoi_2d.h index 8d1ff2d4c2b..7caba2b0692 100644 --- a/source/blender/blenlib/BLI_voronoi_2d.h +++ b/source/blender/blenlib/BLI_voronoi_2d.h @@ -40,18 +40,24 @@ typedef struct VoronoiSite { typedef struct VoronoiEdge { struct VoronoiEdge *next, *prev; - float start[2], end[2]; /* start and end points */ + /* start and end points */ + float start[2], end[2]; /* this fields are used during diagram computation only */ - float direction[2]; /* directional vector, from "start", points to "end", normal of |left, right| */ + /* directional vector, from "start", points to "end", normal of |left, right| */ + float direction[2]; - float left[2]; /* point on Voronoi place on the left side of edge */ - float right[2]; /* point on Voronoi place on the right side of edge */ + /* point on Voronoi place on the left side of edge */ + float left[2]; + /* point on Voronoi place on the right side of edge */ + float right[2]; - float f, g; /* directional coeffitients satisfying equation y = f * x + g (edge lies on this line) */ + /* directional coeffitients satisfying equation y = f * x + g (edge lies on this line) */ + float f, g; - /* some edges consist of two parts, so we add the pointer to another part to connect them at the end of an algorithm */ + /* some edges consist of two parts, + * so we add the pointer to another part to connect them at the end of an algorithm */ struct VoronoiEdge *neighbor; } VoronoiEdge; -- cgit v1.2.3