]> git.sesse.net Git - movit/blobdiff - effect_util.h
In the README, document that we have luma mix.
[movit] / effect_util.h
index 13a775401b88652149421717158e680071fdd088..65bd315855c5f004b2ec73bc6dc73f3b3c96aaec 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _EFFECT_UTIL_H
-#define _EFFECT_UTIL_H 1
+#ifndef _MOVIT_EFFECT_UTIL_H
+#define _MOVIT_EFFECT_UTIL_H 1
 
 // Utilities that are often useful for implementing Effect instances,
 // but don't need to be included from effect.h.
@@ -14,6 +14,8 @@
 
 #include "util.h"
 
+namespace movit {
+
 class EffectChain;
 class Node;
 
@@ -27,4 +29,6 @@ void set_uniform_vec4(GLuint glsl_program_num, const std::string &prefix, const
 void set_uniform_vec4_array(GLuint glsl_program_num, const std::string &prefix, const std::string &key, const float *values, size_t num_values);
 void set_uniform_mat3(GLuint glsl_program_num, const std::string &prefix, const std::string &key, const Eigen::Matrix3d &matrix);
 
-#endif // !defined(_EFFECT_UTIL_H)
+}  // namespace movit
+
+#endif // !defined(_MOVIT_EFFECT_UTIL_H)