diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-03-25 11:46:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-03-25 11:49:14 +0300 |
commit | 3eb33b804d48ac4009184722db02ecaa9d71ef21 (patch) | |
tree | 50e577605f85f7f062429568e3cfac782baa6137 /source/blender/blenlib/BLI_rect.h | |
parent | 8d0b104f4357f5914f3e28d735ebffa1526a598e (diff) |
Fix T44118: Rotated background image disappears
Image clipping didn't take rotation into account.
Diffstat (limited to 'source/blender/blenlib/BLI_rect.h')
-rw-r--r-- | source/blender/blenlib/BLI_rect.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_rect.h b/source/blender/blenlib/BLI_rect.h index a132ac40206..e0a0b34ac5f 100644 --- a/source/blender/blenlib/BLI_rect.h +++ b/source/blender/blenlib/BLI_rect.h @@ -89,6 +89,8 @@ void BLI_rctf_union(struct rctf *rctf1, const struct rctf *rctf2); void BLI_rcti_rctf_copy(struct rcti *dst, const struct rctf *src); void BLI_rctf_rcti_copy(struct rctf *dst, const struct rcti *src); +void BLI_rctf_rotate_expand(rctf *dst, const rctf *src, const float angle); + void print_rctf(const char *str, const struct rctf *rect); void print_rcti(const char *str, const struct rcti *rect); |