diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-14 01:10:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-14 01:12:53 +0300 |
commit | 0547a7753643f45861306542857d97215ecb2c4f (patch) | |
tree | 1faad834721f7f13d4a0756bd80607963386fccd /source/blender/editors/space_clip/tracking_select.c | |
parent | d30ec73d763ed01795100ec5d3a0ef9dc8521f7b (diff) |
Cleanup: use const args, variables
Diffstat (limited to 'source/blender/editors/space_clip/tracking_select.c')
-rw-r--r-- | source/blender/editors/space_clip/tracking_select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_clip/tracking_select.c b/source/blender/editors/space_clip/tracking_select.c index 4532b61f291..f6063b49005 100644 --- a/source/blender/editors/space_clip/tracking_select.c +++ b/source/blender/editors/space_clip/tracking_select.c @@ -57,7 +57,7 @@ static float dist_to_crns(float co[2], float pos[2], float crns[4][2]); /********************** mouse select operator *********************/ static int mouse_on_side( - float co[2], float x1, float y1, float x2, float y2, float epsx, float epsy) + const float co[2], float x1, float y1, float x2, float y2, float epsx, float epsy) { if (x1 > x2) { SWAP(float, x1, x2); @@ -71,7 +71,7 @@ static int mouse_on_side( } static int mouse_on_rect( - float co[2], float pos[2], float min[2], float max[2], float epsx, float epsy) + const float co[2], float pos[2], float min[2], float max[2], float epsx, float epsy) { return mouse_on_side( co, pos[0] + min[0], pos[1] + min[1], pos[0] + max[0], pos[1] + min[1], epsx, epsy) || |