diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 15:15:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 15:30:31 +0300 |
commit | 4226ee0b71fec6f08897dacf3d6632526618acca (patch) | |
tree | 560c333c5a9458f3dbbb606befd52d558b35503f /source/blender/blenlib/intern/noise.c | |
parent | 30c3852ffd140b003410aae25b222dea8b76412f (diff) |
Cleanup: comment line length (blenlib)
Prevents clang-format wrapping text before comments.
Diffstat (limited to 'source/blender/blenlib/intern/noise.c')
-rw-r--r-- | source/blender/blenlib/intern/noise.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/noise.c b/source/blender/blenlib/intern/noise.c index ee2bab11ade..87f1adc5b1a 100644 --- a/source/blender/blenlib/intern/noise.c +++ b/source/blender/blenlib/intern/noise.c @@ -288,7 +288,9 @@ static float newPerlin(float x, float y, float z) { int A, AA, AB, B, BA, BB; float u = floor(x), v = floor(y), w = floor(z); - int X = ((int)u) & 255, Y = ((int)v) & 255, Z = ((int)w) & 255; /* FIND UNIT CUBE THAT CONTAINS POINT */ + int X = ((int)u) & 255, + Y = ((int)v) & 255, + Z = ((int)w) & 255; /* FIND UNIT CUBE THAT CONTAINS POINT */ x -= u; /* FIND RELATIVE X,Y,Z */ y -= v; /* OF POINT IN CUBE. */ z -= w; @@ -1304,7 +1306,8 @@ static float voronoi_Cr(float x, float y, float z) } -/* Signed version of all 6 of the above, just 2x-1, not really correct though (range is potentially (0, sqrt(6)). +/* Signed version of all 6 of the above, just 2x-1, not really correct though + * (range is potentially (0, sqrt(6)). * Used in the musgrave functions */ static float voronoi_F1S(float x, float y, float z) { |