]> git.sesse.net Git - movit/blob - multiply_effect.cpp
Move to 'using namespace std;' in all .cpp files.
[movit] / multiply_effect.cpp
1 #include <GL/glew.h>
2
3 #include "multiply_effect.h"
4 #include "util.h"
5
6 using namespace std;
7
8 MultiplyEffect::MultiplyEffect()
9         : factor(1.0f, 1.0f, 1.0f, 1.0f)
10 {
11         register_vec4("factor", (float *)&factor);
12 }
13
14 string MultiplyEffect::output_fragment_shader()
15 {
16         return read_file("multiply_effect.frag");
17 }