aboutsummaryrefslogtreecommitdiff
path: root/include/gui/Utils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/Utils.hpp')
-rw-r--r--include/gui/Utils.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gui/Utils.hpp b/include/gui/Utils.hpp
index 6963bc5..35b2bb7 100644
--- a/include/gui/Utils.hpp
+++ b/include/gui/Utils.hpp
@@ -15,4 +15,5 @@ namespace gsr {
void draw_rectangle_outline(mgl::Window &window, mgl::vec2f pos, mgl::vec2f size, mgl::Color color, float border_size);
double get_frame_delta_seconds();
void set_frame_delta_seconds(double frame_delta);
+ mgl::vec2f scale_keep_aspect_ratio(mgl::vec2f from, mgl::vec2f to);
} \ No newline at end of file