diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-06 03:22:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-06 03:22:47 +0400 |
commit | df51ab27ed974b3daf0c9c14e334be154e1a4b73 (patch) | |
tree | 9be7779c11d80c5baa11be5e5166c201c61f4953 /source/blender/blenlib/intern/math_vector_inline.c | |
parent | 3f7b4916e9bcd89bb289f3b1d5749c5bcb956f6a (diff) |
code cleanup: BM_face_legal_splits() was doing some redundant assignments.
Diffstat (limited to 'source/blender/blenlib/intern/math_vector_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_vector_inline.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/math_vector_inline.c b/source/blender/blenlib/intern/math_vector_inline.c index 177c099d647..0a8f57214d7 100644 --- a/source/blender/blenlib/intern/math_vector_inline.c +++ b/source/blender/blenlib/intern/math_vector_inline.c @@ -231,6 +231,13 @@ MINLINE void swap_v4_v4(float a[4], float b[4]) /********************************* Arithmetic ********************************/ +MINLINE void add_v2_fl(float r[2], float f) +{ + r[0] += f; + r[1] += f; +} + + MINLINE void add_v3_fl(float r[3], float f) { r[0] += f; |