diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-04 10:33:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-04 10:33:12 +0300 |
commit | 8cd6e22ec0c1eace9107e7425abc00e9938b26c8 (patch) | |
tree | 3a2e62d114c5433cbf36d4fd1be6249a1c310475 /source/blender/blenlib/BLI_rect.h | |
parent | 52f4531eeb577d11f2738cb5e3b0fc4c7cc48b80 (diff) |
Cleanup: use const arg for BLI_rect inside check
Diffstat (limited to 'source/blender/blenlib/BLI_rect.h')
-rw-r--r-- | source/blender/blenlib/BLI_rect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_rect.h b/source/blender/blenlib/BLI_rect.h index 471d875c9af..a6670266643 100644 --- a/source/blender/blenlib/BLI_rect.h +++ b/source/blender/blenlib/BLI_rect.h @@ -92,8 +92,8 @@ bool BLI_rcti_isect_segment(const struct rcti *rect, const int s1[2], const int bool BLI_rctf_isect_segment(const struct rctf *rect, const float s1[2], const float s2[2]); bool BLI_rcti_isect_circle(const struct rcti *rect, const float xy[2], const float radius); bool BLI_rctf_isect_circle(const struct rctf *rect, const float xy[2], const float radius); -bool BLI_rcti_inside_rcti(rcti *rct_a, const rcti *rct_b); -bool BLI_rctf_inside_rctf(rctf *rct_a, const rctf *rct_b); +bool BLI_rcti_inside_rcti(const rcti *rct_a, const rcti *rct_b); +bool BLI_rctf_inside_rctf(const rctf *rct_a, const rctf *rct_b); void BLI_rcti_union(struct rcti *rcti1, const struct rcti *rcti2); void BLI_rctf_union(struct rctf *rctf1, const struct rctf *rctf2); void BLI_rcti_rctf_copy(struct rcti *dst, const struct rctf *src); |