diff options
Diffstat (limited to 'src/libjin/Graphics/je_graphic.h')
-rw-r--r-- | src/libjin/Graphics/je_graphic.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libjin/Graphics/je_graphic.h b/src/libjin/Graphics/je_graphic.h index 91c8b44..51c8e3d 100644 --- a/src/libjin/Graphics/je_graphic.h +++ b/src/libjin/Graphics/je_graphic.h @@ -5,6 +5,7 @@ #include "../math/je_quad.h" #include "../math/je_vector2.hpp" +#include "../math/je_transform.h" #include "je_gl.h" #include "je_bitmap.h" @@ -67,6 +68,16 @@ namespace JinEngine /// void render(const Math::Quad& slice, int x, int y, float sx = 1, float sy = 1, float r = 0, float ox = 0, float oy = 0) const; + /// + /// Render with transform. + /// + void render(const Math::Transform& transform) const; + + /// + /// + /// + void render(const Math::Quad& slice, const Math::Transform& transform) const; + protected: Math::Vector2<uint> mSize; |