diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-11-04 10:14:48 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-11-04 10:14:48 +0300 |
commit | 9af147b5d339941c0cff3d7084a9c4b497c9a854 (patch) | |
tree | 65473e3c2d1a128be6cb1d57d74efd89c5ef9153 /source/blender/blenlib/intern/noise.c | |
parent | 029e1f066e00ed4d07b46419fc6176f3e501e30e (diff) |
Cleanup: make format
Diffstat (limited to 'source/blender/blenlib/intern/noise.c')
-rw-r--r-- | source/blender/blenlib/intern/noise.c | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/source/blender/blenlib/intern/noise.c b/source/blender/blenlib/intern/noise.c index cbb02cce288..503d95936a9 100644 --- a/source/blender/blenlib/intern/noise.c +++ b/source/blender/blenlib/intern/noise.c @@ -1319,7 +1319,8 @@ float BLI_gTurbulence( * ``lacunarity'' is the gap between successive frequencies * ``octaves'' is the number of frequencies in the fBm */ -float BLI_mg_fBm(float x, float y, float z, float H, float lacunarity, float octaves, int noisebasis) +float BLI_mg_fBm( + float x, float y, float z, float H, float lacunarity, float octaves, int noisebasis) { float rmd, value = 0.0, pwr = 1.0, pwHL = powf(lacunarity, -H); int i; @@ -1460,13 +1461,13 @@ float BLI_mg_MultiFractal( * ``offset'' raises the terrain from `sea level' */ float BLI_mg_HeteroTerrain(float x, - float y, - float z, - float H, - float lacunarity, - float octaves, - float offset, - int noisebasis) + float y, + float z, + float H, + float lacunarity, + float octaves, + float offset, + int noisebasis) { float value, increment, rmd; int i; @@ -1540,14 +1541,14 @@ float BLI_mg_HeteroTerrain(float x, * offset: 0.7 */ float BLI_mg_HybridMultiFractal(float x, - float y, - float z, - float H, - float lacunarity, - float octaves, - float offset, - float gain, - int noisebasis) + float y, + float z, + float H, + float lacunarity, + float octaves, + float offset, + float gain, + int noisebasis) { float result, signal, weight, rmd; int i; @@ -1627,14 +1628,14 @@ float BLI_mg_HybridMultiFractal(float x, * gain: 2.0 */ float BLI_mg_RidgedMultiFractal(float x, - float y, - float z, - float H, - float lacunarity, - float octaves, - float offset, - float gain, - int noisebasis) + float y, + float z, + float H, + float lacunarity, + float octaves, + float offset, + float gain, + int noisebasis) { float result, signal, weight; int i; |