From 857dedbc584fcf0af0afa13f008377fd9a83dad1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 27 May 2012 00:36:50 +0000 Subject: style cleanup --- source/blender/blenlib/intern/noise.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/intern/noise.c b/source/blender/blenlib/intern/noise.c index cad4addc87b..e01d2061743 100644 --- a/source/blender/blenlib/intern/noise.c +++ b/source/blender/blenlib/intern/noise.c @@ -1134,15 +1134,18 @@ static float turbulencep(float noisesize, float x, float y, float z, int nr) /* Camberra omitted, didn't seem useful */ /* distance squared */ -static float dist_Squared(float x, float y, float z, float e) { +static float dist_Squared(float x, float y, float z, float e) +{ (void)e; return (x * x + y * y + z * z); } /* real distance */ -static float dist_Real(float x, float y, float z, float e) { +static float dist_Real(float x, float y, float z, float e) +{ (void)e; return sqrtf(x * x + y * y + z * z); } /* manhattan/taxicab/cityblock distance */ -static float dist_Manhattan(float x, float y, float z, float e) { +static float dist_Manhattan(float x, float y, float z, float e) +{ (void)e; return (fabsf(x) + fabsf(y) + fabsf(z)); } /* Chebychev */ -- cgit v1.2.3