diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2018-12-23 15:25:40 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2018-12-23 15:28:32 +0300 |
commit | 02f083cdcecf74a169114850337a99c802c53e34 (patch) | |
tree | 5bfd5c4ca3fb61a48d8205875e2451b51a84a2d4 /source/blender/editors/sculpt_paint | |
parent | 1574b691f3cc5928c408f24901c8b5a3ebfe7103 (diff) |
BLI_math_rotation: properly name the quaternion power function.
"angular mult factor" is a completely unintelligible description
for a function that raises a unit quaternion to the scalar power.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index a4605eddd79..5694c760371 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -276,7 +276,7 @@ static void sculpt_rake_rotate( sub_v3_v3v3(vec_rot, v_co, sculpt_co); copy_qt_qt(q_interp, ss->cache->rake_rotation_symmetry); - mul_fac_qt_fl(q_interp, factor); + pow_qt_fl_normalized(q_interp, factor); mul_qt_v3(q_interp, vec_rot); add_v3_v3(vec_rot, sculpt_co); |