diff options
author | chai <chaifix@163.com> | 2018-10-19 08:36:44 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-19 08:36:44 +0800 |
commit | 7d5f055547e70fa93ee9ac944e62f8d657b9dc55 (patch) | |
tree | 081782a1541854db4b8eb69c4b43081f52711286 /src/libjin/Graphics/je_texture.cpp | |
parent | 02dd1f38008594048f0e28bad01e7c6d18844198 (diff) |
*修改文件名
Diffstat (limited to 'src/libjin/Graphics/je_texture.cpp')
-rw-r--r-- | src/libjin/Graphics/je_texture.cpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/libjin/Graphics/je_texture.cpp b/src/libjin/Graphics/je_texture.cpp new file mode 100644 index 0000000..d2e53e2 --- /dev/null +++ b/src/libjin/Graphics/je_texture.cpp @@ -0,0 +1,36 @@ +#include "../core/je_configuration.h" +#if LIBJIN_MODULES_RENDER + +#include <fstream> + +#include "../utils/je_utils.h" +#include "../math/je_math.h" + +#include "je_texture.h" + +namespace jin +{ + namespace graphics + { + + using namespace jin::math; + + /*static*/ Texture* Texture::createTexture(Bitmap* bitmap) + { + Texture* tex = new Texture(bitmap); + return tex; + } + + Texture::Texture(const Bitmap* bitmap) + : Drawable(bitmap) + { + } + + Texture::~Texture() + { + } + + } // namespace graphics +} // namespace jin + +#endif // LIBJIN_MODULES_RENDER
\ No newline at end of file |