diff options
Diffstat (limited to 'src/graphics')
-rw-r--r-- | src/graphics/Sprite.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphics/Sprite.cpp b/src/graphics/Sprite.cpp index de9e96c..4d5d181 100644 --- a/src/graphics/Sprite.cpp +++ b/src/graphics/Sprite.cpp @@ -51,6 +51,10 @@ namespace mgl { mgl_sprite_set_size(&sprite, *(mgl_vec2f*)&size); } + void Sprite::set_width(float width) { + mgl_sprite_set_width(&sprite, width); + } + void Sprite::set_height(float height) { mgl_sprite_set_height(&sprite, height); } |