diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-10-12 06:19:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-10-12 06:19:37 +0400 |
commit | b6db417ee466c6aec5d412a259a6dc7c0b4c1750 (patch) | |
tree | ca86ca90c7868f92d3c795c8d1f6a968dade6760 /source/blender/blenlib/intern/noise.c | |
parent | 744f691af42ffeadd306180048c51edad65a5f06 (diff) |
code cleanup: use const's for vector args.
Diffstat (limited to 'source/blender/blenlib/intern/noise.c')
-rw-r--r-- | source/blender/blenlib/intern/noise.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/noise.c b/source/blender/blenlib/intern/noise.c index 9ba5124264f..5b9fefe77bb 100644 --- a/source/blender/blenlib/intern/noise.c +++ b/source/blender/blenlib/intern/noise.c @@ -42,7 +42,7 @@ /* local */ static float noise3_perlin(float vec[3]); -//static float turbulence_perlin(float *point, float lofreq, float hifreq); +//static float turbulence_perlin(const float point[3], float lofreq, float hifreq); //static float turbulencep(float noisesize, float x, float y, float z, int nr); /* UNUSED */ @@ -1097,7 +1097,7 @@ static float noise3_perlin(float vec[3]) } #if 0 -static float turbulence_perlin(float *point, float lofreq, float hifreq) +static float turbulence_perlin(const float point[3], float lofreq, float hifreq) { float freq, t, p[3]; |