diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-26 20:04:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-26 20:04:31 +0400 |
commit | de6af75d4d10c2f9b3321435cb669f75f471ff70 (patch) | |
tree | 157d517fca16c709b7125d460b05cce275480720 /source/blender/editors/uvedit | |
parent | ae919658d4a371772dce7a78113f828d10efeeaa (diff) |
code cleanup: use array size and const for vector args
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_parametrizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c index 4a6de737e7a..4c0e96426e7 100644 --- a/source/blender/editors/uvedit/uvedit_parametrizer.c +++ b/source/blender/editors/uvedit/uvedit_parametrizer.c @@ -3596,7 +3596,7 @@ typedef struct SmoothNode { int axis, ntri; } SmoothNode; -static void p_barycentric_2d(float *v1, float *v2, float *v3, float *p, float *b) +static void p_barycentric_2d(const float v1[2], const float v2[2], const float v3[2], float p[2], float b[2]) { float a[2], c[2], h[2], div; |