aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Texture.cpp
blob: 4af29a7e173d0aa4da6a647163d8ba33dcbbf69c (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
#include "../jin_configuration.h"
#if LIBJIN_MODULES_RENDER

#include <fstream>
#include "texture.h"
#include "../utils/utils.h"
#include "../Math/Math.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