aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-11 01:07:19 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-11 01:07:19 +0200
commit1b2e308b51fe2d1cebce4f170837a7c08d375484 (patch)
treee1404a2f91d2306d9952e13a36fbad0c1144b1a4 /include
parent66d126f824bc755bad042e1cb94c1d79a3203c97 (diff)
fix incorrect sprite_set_height, add sprite_set_width
Diffstat (limited to 'include')
-rw-r--r--include/mglpp/graphics/Sprite.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mglpp/graphics/Sprite.hpp b/include/mglpp/graphics/Sprite.hpp
index 67f7cad..6fc7938 100644
--- a/include/mglpp/graphics/Sprite.hpp
+++ b/include/mglpp/graphics/Sprite.hpp
@@ -25,6 +25,7 @@ namespace mgl {
void set_scale(vec2f scale);
void set_scale(float scale);
void set_size(vec2f size);
+ void set_width(float width);
void set_height(float height);
void set_rotation(float degrees);
void set_origin(vec2f origin);