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-15 19:16:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-15 19:16:11 +0400
commit59ca83c3a9a94efa1e7415c83f0fe2033fcfcd28 (patch)
tree131a1add9b80df39fed212a1484b51048756b747 /source/blender/modifiers/intern/MOD_screw.c
parent03d631986234d476d4d763b0fded289b482257b6 (diff)
rename axis_angle_to_mat3_no_norm() --> axis_angle_normalized_to_mat3().
this matches closer to convention from existing functions - angle_v3v3() angle_normalized_v3v3(). also added assert to ensure argument given to axis_angle_normalized_to_mat3() is in fact normalized.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_screw.c')
-rw-r--r--source/blender/modifiers/intern/MOD_screw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c
index 7572ac152cb..956823de784 100644
--- a/source/blender/modifiers/intern/MOD_screw.c
+++ b/source/blender/modifiers/intern/MOD_screw.c
@@ -697,7 +697,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
step_angle = (angle / (step_tot - (!close))) * step;
if (ltmd->ob_axis) {
- axis_angle_to_mat3(mat3, axis_vec, step_angle);
+ axis_angle_normalized_to_mat3(mat3, axis_vec, step_angle);
copy_m4_m3(mat, mat3);
}
else {