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>2012-05-22 20:24:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-22 20:24:09 +0400
commitf16f545c6e78f8d677408b566dd2001dbb90e7f8 (patch)
tree9317e997fd7f90effab16b484d153f75f2f80936 /source/blender/modifiers
parent3fc3c9f3b4003dd26e1df8282942622cbdb9e954 (diff)
style cleanup
also fix example for mesh uv's
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_skin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_skin.c b/source/blender/modifiers/intern/MOD_skin.c
index c20ae734828..9d2ce657bde 100644
--- a/source/blender/modifiers/intern/MOD_skin.c
+++ b/source/blender/modifiers/intern/MOD_skin.c
@@ -600,17 +600,17 @@ static SkinNode *build_frames(const MVert *mvert, int totvert,
static void calc_edge_mat(float mat[3][3], const float a[3], const float b[3])
{
- float Z[3] = {0, 0, 1};
+ const float z_up[3] = {0, 0, 1};
float dot;
/* X = edge direction */
sub_v3_v3v3(mat[0], b, a);
normalize_v3(mat[0]);
- dot = dot_v3v3(mat[0], Z);
+ dot = dot_v3v3(mat[0], z_up);
if (dot > -1 + FLT_EPSILON && dot < 1 - FLT_EPSILON) {
/* Y = Z cross x */
- cross_v3_v3v3(mat[1], Z, mat[0]);
+ cross_v3_v3v3(mat[1], z_up, mat[0]);
normalize_v3(mat[1]);
/* Z = x cross y */