From 47c373c7a970fa4bd26453a6e35a4b066f2b77e4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 27 Feb 2012 10:35:39 +0000 Subject: style cleanup (mostly whitespace) --- source/blender/blenlib/intern/jitter.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source/blender/blenlib/intern/jitter.c') diff --git a/source/blender/blenlib/intern/jitter.c b/source/blender/blenlib/intern/jitter.c index ab33187ec4d..52733b092d3 100644 --- a/source/blender/blenlib/intern/jitter.c +++ b/source/blender/blenlib/intern/jitter.c @@ -51,10 +51,10 @@ void BLI_jitterate1(float *jit1, float *jit2, int num, float rad1) x = jit1[i]; y = jit1[i+1]; for (j = 2*num-2; j>=0 ; j-=2) { - if (i != j){ + if (i != j) { vecx = jit1[j] - x - 1.0f; vecy = jit1[j+1] - y - 1.0f; - for (k = 3; k>0 ; k--){ + for (k = 3; k>0 ; k--) { if( fabsf(vecx)0 && len= 0 ; i-=2){ + for (i=2*num -2; i>= 0 ; i-=2) { dvecx = dvecy = 0.0; x = jit1[i]; y = jit1[i+1]; - for (j =2*num -2; j>= 0 ; j-=2){ - if (i != j){ + for (j =2*num -2; j>= 0 ; j-=2) { + if (i != j) { vecx = jit1[j] - x - 1.0f; vecy = jit1[j+1] - y - 1.0f; @@ -130,7 +130,7 @@ void BLI_jitterate2(float *jit1, float *jit2, int num, float rad2) x -= dvecx/2.0f; y -= dvecy/2.0f; - x -= floorf(x) ; + x -= floorf(x); y -= floorf(y); jit2[i] = x; jit2[i+1] = y; -- cgit v1.2.3