From e9410bd371fc68169c57d2c52382948a0b083da4 Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 20 Oct 2018 15:50:06 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9=E5=90=8D=E7=A7=B0=E7=A9=BA=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/Shader/je_shader.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/libjin/Graphics/Shader/je_shader.cpp') diff --git a/src/libjin/Graphics/Shader/je_shader.cpp b/src/libjin/Graphics/Shader/je_shader.cpp index 686f2b9..19485b9 100644 --- a/src/libjin/Graphics/Shader/je_shader.cpp +++ b/src/libjin/Graphics/Shader/je_shader.cpp @@ -9,12 +9,12 @@ #include "je_shader.h" -namespace jin +namespace JinEngine { - namespace graphics + namespace Graphics { - using namespace jin::filesystem; + using namespace JinEngine::Filesystem; using namespace std; // @@ -258,7 +258,7 @@ namespace jin ); } - void Shader::sendMatrix4(const char* name, const math::Matrix* mat4) + void Shader::sendMatrix4(const char* name, const Math::Matrix* mat4) { int loc = glGetUniformLocation(mPID, name); glUniformMatrix4fv(loc, 1, GL_FALSE, mat4->getElements()); @@ -278,7 +278,7 @@ namespace jin glVertexAttribPointer(loc, n, type, GL_FALSE, stride, pointers); } - } // namespace graphics -} // namespace jin + } // namespace Graphics +} // namespace JinEngine #endif // jin_graphics_shader \ No newline at end of file -- cgit v1.1-26-g67d0