Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-06 02:29:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-06 04:32:54 +0300
commitc19e4b706e9877a6ea2160571682a4a2dc33c477 (patch)
treeab7d566e63e677cde05d9c2e9e5801c7b4086a18 /source/blender/blenlib/intern
parent73ea68d0ca0bc4c629fef9e8352aa5e2c4fc4ee1 (diff)
Cleanup: clang-format
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r--source/blender/blenlib/intern/noise.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/noise.c b/source/blender/blenlib/intern/noise.c
index 5052fcbcac9..82ceb36c0e1 100644
--- a/source/blender/blenlib/intern/noise.c
+++ b/source/blender/blenlib/intern/noise.c
@@ -1750,9 +1750,9 @@ float BLI_mg_VLNoise(float x, float y, float z, float distortion, int nbas1, int
/* get a random vector and scale the randomization */
float rv[3] = {
- rv[0] = noisefunc1(x + 13.5f, y + 13.5f, z + 13.5f) * distortion,
- rv[1] = noisefunc1(x, y, z) * distortion,
- rv[2] = noisefunc1(x - 13.5f, y - 13.5f, z - 13.5f) * distortion,
+ rv[0] = noisefunc1(x + 13.5f, y + 13.5f, z + 13.5f) * distortion,
+ rv[1] = noisefunc1(x, y, z) * distortion,
+ rv[2] = noisefunc1(x - 13.5f, y - 13.5f, z - 13.5f) * distortion,
};
return noisefunc2(x + rv[0], y + rv[1], z + rv[2]); /* distorted-domain noise */