diff options
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 |