Skip to content

Commit

Permalink
Minor code reshuffling
Browse files Browse the repository at this point in the history
  • Loading branch information
phako committed Dec 2, 2018
1 parent 15373a7 commit ed6ad20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/util.vala
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,3 @@ public bool null_progress_monitor(uint64 count, uint64 total) {
return true;
}


double degrees_to_radians(double theta) {
return (theta * (GLib.Math.PI / 180.0));
}
3 changes: 3 additions & 0 deletions src/util/image.vala
Original file line number Diff line number Diff line change
Expand Up @@ -422,3 +422,6 @@ Box clamp_inside_rotated_image(Box src, int img_w, int img_h, double angle_deg,
src.right + right_offset, src.bottom + bottom_offset);
}

double degrees_to_radians(double theta) {
return (theta * (GLib.Math.PI / 180.0));
}

0 comments on commit ed6ad20

Please sign in to comment.