diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_RotateOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_RotateOperation.h | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/source/blender/compositor/operations/COM_RotateOperation.h b/source/blender/compositor/operations/COM_RotateOperation.h index 3970d3a2776..f53fb3a4932 100644 --- a/source/blender/compositor/operations/COM_RotateOperation.h +++ b/source/blender/compositor/operations/COM_RotateOperation.h @@ -56,27 +56,19 @@ class RotateOperation : public MultiThreadedOperation { const rcti &rotate_canvas, float &r_offset_x, float &r_offset_y); - static void get_area_rotation_bounds(const rcti &area, - const float center_x, - const float center_y, - const float sine, - const float cosine, - rcti &r_bounds); - static void get_area_rotation_bounds_inverted(const rcti &area, - const float center_x, - const float center_y, - const float sine, - const float cosine, - rcti &r_bounds); + static void get_area_rotation_bounds( + const rcti &area, float center_x, float center_y, float sine, float cosine, rcti &r_bounds); + static void get_area_rotation_bounds_inverted( + const rcti &area, float center_x, float center_y, float sine, float cosine, rcti &r_bounds); static void get_rotation_area_of_interest(const rcti &input_canvas, const rcti &rotate_canvas, - const float sine, - const float cosine, + float sine, + float cosine, const rcti &output_area, rcti &r_input_area); static void get_rotation_canvas(const rcti &input_canvas, - const float sine, - const float cosine, + float sine, + float cosine, rcti &r_canvas); bool determine_depending_area_of_interest(rcti *input, |