aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Texture.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-07-28 22:10:27 +0800
committerchai <chaifix@163.com>2018-07-28 22:10:27 +0800
commit52693d68f7181d707e1a192d67a617145b358394 (patch)
tree5a39bcdf225def306738ead6683cd224e2c5762d /src/libjin/Graphics/Texture.cpp
parentd033400614e7e2c0ff49e5100c81e937e5818e74 (diff)
*update
Diffstat (limited to 'src/libjin/Graphics/Texture.cpp')
-rw-r--r--src/libjin/Graphics/Texture.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libjin/Graphics/Texture.cpp b/src/libjin/Graphics/Texture.cpp
index 7349c36..4c6707d 100644
--- a/src/libjin/Graphics/Texture.cpp
+++ b/src/libjin/Graphics/Texture.cpp
@@ -5,13 +5,15 @@
#include "texture.h"
#include "../3rdparty/stb/stb_image.h"
#include "../utils/utils.h"
-#include "../math/math.h"
+#include "../Math/Math.h"
namespace jin
{
namespace graphics
{
+ using namespace jin::math;
+
Texture* Texture::createTexture(const char* file)
{
std::ifstream fs;