X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=mix_effect.cpp;h=6e279cbebaac173979738b9a56bab1fd4da9b26a;hp=0f80a8f784ee1f2ed1575e9b784594dd728c4647;hb=85f9719bf3519b1f1942738d11601584f5d38725;hpb=a80b859d6c8bb9ed1e7aa547d4a9972f1a041347 diff --git a/mix_effect.cpp b/mix_effect.cpp index 0f80a8f..6e279cb 100644 --- a/mix_effect.cpp +++ b/mix_effect.cpp @@ -1,6 +1,8 @@ #include "mix_effect.h" #include "util.h" +using namespace std; + MixEffect::MixEffect() : strength_first(0.5f), strength_second(0.5f) { @@ -8,7 +10,7 @@ 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"); }