Cleanup: make format

This commit is contained in:
Aaron Carlisle
2020-11-04 02:14:48 -05:00
parent 029e1f066e
commit 9af147b5d3
5 changed files with 99 additions and 96 deletions

View File

@@ -39,7 +39,8 @@ float BLI_gNoise(float noisesize, float x, float y, float z, int hard, int noise
float BLI_gTurbulence(
float noisesize, float x, float y, float z, int oct, int hard, int noisebasis);
/* newnoise: musgrave functions */
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 BLI_mg_MultiFractal(
float x, float y, float z, float H, float lacunarity, float octaves, int noisebasis);
float BLI_mg_VLNoise(float x, float y, float z, float distortion, int nbas1, int nbas2);

View File

@@ -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;

View File

@@ -1,4 +1,5 @@
void node_attribute(vec4 attr, out vec4 outcol, out vec3 outvec, out float outf, out float outalpha)
void node_attribute(
vec4 attr, out vec4 outcol, out vec3 outvec, out float outf, out float outalpha)
{
outcol = vec4(attr.xyz, 1.0);
outvec = attr.xyz;