diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-20 05:25:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-20 05:58:46 +0300 |
commit | e233e492df50b9c49bb5c7808aab0ff87a6c8608 (patch) | |
tree | 67d1deaeab0eba08e0e0e389dadeb3b80211b8d5 /source/blender/blenkernel/intern/tracking_stabilize.c | |
parent | 71d6fbcd516db196d68088319ede5d2ffd254d71 (diff) |
Cleanup: rename mul_m2v2 to mul_m2_v2
Matches mul_m3_v3
Diffstat (limited to 'source/blender/blenkernel/intern/tracking_stabilize.c')
-rw-r--r-- | source/blender/blenkernel/intern/tracking_stabilize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/tracking_stabilize.c b/source/blender/blenkernel/intern/tracking_stabilize.c index 89537b3f788..32e7233060c 100644 --- a/source/blender/blenkernel/intern/tracking_stabilize.c +++ b/source/blender/blenkernel/intern/tracking_stabilize.c @@ -476,7 +476,7 @@ static float rotation_contribution(TrackStabilizationBase *track_ref, sub_v2_v2v2(pos, marker->pos, pivot); pos[0] *= aspect; - mul_m2v2(track_ref->stabilization_rotation_base, pos); + mul_m2_v2(track_ref->stabilization_rotation_base, pos); *result_angle = atan2f(pos[1], pos[0]); @@ -516,7 +516,7 @@ static void compensate_rotation_center(const int size, copy_v2_v2(rotated_pivot, pivot); angle_to_mat2(rotation_mat, +angle); sub_v2_v2(rotated_pivot, origin); - mul_m2v2(rotation_mat, rotated_pivot); + mul_m2_v2(rotation_mat, rotated_pivot); mul_v2_fl(rotated_pivot, scale); add_v2_v2(rotated_pivot, origin); add_v2_v2(result_translation, intended_pivot); |