From f16f545c6e78f8d677408b566dd2001dbb90e7f8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 22 May 2012 16:24:09 +0000 Subject: style cleanup also fix example for mesh uv's --- source/blender/modifiers/intern/MOD_skin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/modifiers') 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 */ -- cgit v1.2.3