]> git.sesse.net Git - movit/blobdiff - mix_effect.cpp
Fix a bug where repeated vertical FFTs would reverse the output.
[movit] / mix_effect.cpp
index 6e279cbebaac173979738b9a56bab1fd4da9b26a..9e27b1243dfd8dc61caf9cb575ce459aa495a392 100644 (file)
@@ -3,6 +3,8 @@
 
 using namespace std;
 
+namespace movit {
+
 MixEffect::MixEffect()
        : strength_first(0.5f), strength_second(0.5f)
 {
@@ -14,3 +16,5 @@ string MixEffect::output_fragment_shader()
 {
        return read_file("mix_effect.frag");
 }
+
+}  // namespace movit