X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=mix_effect.cpp;h=9e27b1243dfd8dc61caf9cb575ce459aa495a392;hp=0f80a8f784ee1f2ed1575e9b784594dd728c4647;hb=6f1efa8348a90a393187c12d70fd10d81bbd2c99;hpb=ef7665d0d3854b3464800d8d7fef9a90f14d9a9f diff --git a/mix_effect.cpp b/mix_effect.cpp index 0f80a8f..9e27b12 100644 --- a/mix_effect.cpp +++ b/mix_effect.cpp @@ -1,6 +1,10 @@ #include "mix_effect.h" #include "util.h" +using namespace std; + +namespace movit { + MixEffect::MixEffect() : strength_first(0.5f), strength_second(0.5f) { @@ -8,7 +12,9 @@ MixEffect::MixEffect() register_float("strength_second", &strength_second); } -std::string MixEffect::output_fragment_shader() +string MixEffect::output_fragment_shader() { return read_file("mix_effect.frag"); } + +} // namespace movit