Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-04-19 04:37:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-19 04:37:30 +0400
commitf2f27bf8325432ec8995f16385c7d65ef975eee1 (patch)
treed583ead3932b84e4e645e313f4cb1e237d3b13a5 /source/blender/editors/uvedit/uvedit_parametrizer.c
parent43998d6a383f6d6a8ae31ed8533235c226deda3f (diff)
style cleanup
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_parametrizer.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_parametrizer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c
index 5744a6e6787..0d2f467767a 100644
--- a/source/blender/editors/uvedit/uvedit_parametrizer.c
+++ b/source/blender/editors/uvedit/uvedit_parametrizer.c
@@ -4186,8 +4186,8 @@ static void p_add_ngon(ParamHandle *handle, ParamKey key, int nverts,
normal_tri_v3(n, co[v0], co[v1], co[v2]);
- if(normal && (dot_v3v3(n, normal) < 0.0f))
- angle = 2.0f*M_PI - angle;
+ if (normal && (dot_v3v3(n, normal) < 0.0f))
+ angle = (float)(2.0 * M_PI) - angle;
if (angle < minangle) {
minangle = angle;
@@ -4211,8 +4211,8 @@ static void p_add_ngon(ParamHandle *handle, ParamKey key, int nverts,
}
/* remove corner */
- if(mini + 1 < nverts)
- memmove(boundary + mini, boundary + mini + 1, (nverts - mini - 1)*sizeof(int));
+ if (mini + 1 < nverts)
+ memmove(boundary + mini, boundary + mini + 1, (nverts - mini - 1) * sizeof(int));
nverts--;
}