aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-11-03 22:19:10 +0100
committerdec05eba <dec05eba@protonmail.com>2022-11-03 22:19:10 +0100
commita93ab69dc85a1e4898ccedcad1e59da0986acaa5 (patch)
tree4eb4ca63ae69fd5fccb60eddabaa12de169f4f23 /include
parent792dfdf5d1c7bc5a96e6d9ac540a503cb9f51ff6 (diff)
Sprite: set_size
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 ec9f898..9453c30 100644
--- a/include/mglpp/graphics/Sprite.hpp
+++ b/include/mglpp/graphics/Sprite.hpp
@@ -22,6 +22,7 @@ namespace mgl {
vec2f get_position() const override;
void set_scale(vec2f scale);
void set_scale(float scale);
+ void set_size(vec2f size);
void set_rotation(float degrees);
void set_origin(vec2f origin);