]> git.sesse.net Git - movit/blobdiff - effect_util.cpp
Move everything into “namespace movit”.
[movit] / effect_util.cpp
index f49b47707bde4920fbace424fca80113c979de59..35a94a7c3e999b0ebc2795f92b40e0d10d0009cb 100644 (file)
@@ -6,6 +6,8 @@
 
 using namespace std;
 
+namespace movit {
+
 GLint get_uniform_location(GLuint glsl_program_num, const string &prefix, const string &key)
 {
        string name = prefix + "_" + key;
@@ -97,3 +99,5 @@ void set_uniform_mat3(GLuint glsl_program_num, const string &prefix, const strin
        glUniformMatrix3fv(location, 1, GL_FALSE, matrixf);
        check_error();
 }
+
+}  // namespace movit