diff options
author | chai <chaifix@163.com> | 2018-10-21 22:56:40 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-21 22:56:40 +0800 |
commit | d9a6fbd29abe2e8060d1213c5c9f5f2e8363b23f (patch) | |
tree | 80a45ecb2c7038ddfc8c26ec8f7d33d8b28b7bf7 /src/libjin | |
parent | 12322c584c487b20a550fd9d22b806fba0304014 (diff) |
*调整默认字体
Diffstat (limited to 'src/libjin')
-rw-r--r-- | src/libjin/Graphics/je_sprite.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libjin/Graphics/je_sprite.h b/src/libjin/Graphics/je_sprite.h index 23824a7..4273240 100644 --- a/src/libjin/Graphics/je_sprite.h +++ b/src/libjin/Graphics/je_sprite.h @@ -1,16 +1,18 @@ #ifndef __JE_SPRITE_H #define __JE_SPRITE_H -#include "je_color.h" #include "../common/je_types.h" #include "../math/je_vector2.hpp" +#include "shader/je_shader.h" +#include "je_color.h" + namespace JinEngine { namespace Graphics { /// - /// A sprite is a transformable texture. + /// A sprite is unit of rendering, logic and events. /// class Sprite { @@ -21,6 +23,7 @@ namespace JinEngine Math::Vector2<int> mOrigin; Math::Vector2<int> mScale; Color mColor; + const Shader* mShader; }; |