aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/je_texture.cpp
blob: da5604760e454d4ed18b8f9b1d9cdf7c34622e21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 JinEngine
{
	namespace Graphics
	{

		using namespace JinEngine::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 JinEngine

#endif // LIBJIN_MODULES_RENDER