diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-05-04 12:50:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-04 12:50:06 +0300 |
commit | 9eb46d6c29edec3c888e6ebde4328b05d3f0dc6c (patch) | |
tree | aee1d70ddea70c287c80c310d3711bffa5d19ca3 /source/blender/blenlib/BLI_lasso_2d.h | |
parent | 2addc868dee7d93daccbfb06e9cb7ee39c796370 (diff) |
Cleanup: rename mcords to mcoords
- 'coords' is an abbreviation for coordinates, not 'cords'.
- Rename 'moves' to 'coords_len'.
Diffstat (limited to 'source/blender/blenlib/BLI_lasso_2d.h')
-rw-r--r-- | source/blender/blenlib/BLI_lasso_2d.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenlib/BLI_lasso_2d.h b/source/blender/blenlib/BLI_lasso_2d.h index 56db360dab0..fb661c41784 100644 --- a/source/blender/blenlib/BLI_lasso_2d.h +++ b/source/blender/blenlib/BLI_lasso_2d.h @@ -30,14 +30,14 @@ extern "C" { struct rcti; -void BLI_lasso_boundbox(struct rcti *rect, const int mcords[][2], const unsigned int moves); -bool BLI_lasso_is_point_inside(const int mcords[][2], - const unsigned int moves, +void BLI_lasso_boundbox(struct rcti *rect, const int mcoords[][2], const unsigned int mcoords_len); +bool BLI_lasso_is_point_inside(const int mcoords[][2], + const unsigned int mcoords_len, const int sx, const int sy, const int error_value); -bool BLI_lasso_is_edge_inside(const int mcords[][2], - const unsigned int moves, +bool BLI_lasso_is_edge_inside(const int mcoords[][2], + const unsigned int mcoords_len, int x0, int y0, int x1, |