diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-14 01:10:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-14 01:12:53 +0300 |
commit | 0547a7753643f45861306542857d97215ecb2c4f (patch) | |
tree | 1faad834721f7f13d4a0756bd80607963386fccd /source/blender/blenlib/intern/voronoi_2d.c | |
parent | d30ec73d763ed01795100ec5d3a0ef9dc8521f7b (diff) |
Cleanup: use const args, variables
Diffstat (limited to 'source/blender/blenlib/intern/voronoi_2d.c')
-rw-r--r-- | source/blender/blenlib/intern/voronoi_2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/voronoi_2d.c b/source/blender/blenlib/intern/voronoi_2d.c index 29beb93159a..eb718c5e8c6 100644 --- a/source/blender/blenlib/intern/voronoi_2d.c +++ b/source/blender/blenlib/intern/voronoi_2d.c @@ -581,7 +581,7 @@ static void voronoi_clampEdges(ListBase *edges, int width, int height, ListBase } static int voronoi_getNextSideCoord( - ListBase *edges, float coord[2], int dim, int dir, float next_coord[2]) + ListBase *edges, const float coord[2], int dim, int dir, float next_coord[2]) { VoronoiEdge *edge = edges->first; float distance = FLT_MAX; |