diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-24 10:18:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-24 10:18:31 +0400 |
commit | 69e6894b15271884623ea6f56ead06db83acbe99 (patch) | |
tree | b68200606afaca06cf7552f6b12fc20ebd30d487 /source/blender/blenlib/intern/math_geom_inline.c | |
parent | 7b99ae0ad3017e373be2a344e30d190b70ca66b4 (diff) |
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
Diffstat (limited to 'source/blender/blenlib/intern/math_geom_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_geom_inline.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/math_geom_inline.c b/source/blender/blenlib/intern/math_geom_inline.c index 9031d52cf4c..634e68d0ccf 100644 --- a/source/blender/blenlib/intern/math_geom_inline.c +++ b/source/blender/blenlib/intern/math_geom_inline.c @@ -49,7 +49,7 @@ MINLINE void mul_sh_fl(float r[9], const float f) { int i; - for(i=0; i<9; i++) + for (i=0; i<9; i++) r[i] *= f; } @@ -57,7 +57,7 @@ MINLINE void add_sh_shsh(float r[9], const float a[9], const float b[9]) { int i; - for(i=0; i<9; i++) + for (i=0; i<9; i++) r[i]= a[i] + b[i]; } @@ -66,7 +66,7 @@ MINLINE float dot_shsh(float a[9], float b[9]) float r= 0.0f; int i; - for(i=0; i<9; i++) + for (i=0; i<9; i++) r += a[i]*b[i]; return r; |