X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=mix_effect.cpp;h=6e279cbebaac173979738b9a56bab1fd4da9b26a;hp=0f80a8f784ee1f2ed1575e9b784594dd728c4647;hb=48cb205a8dad4f2b3d61b1d6d69c14b5c044e32f;hpb=ef7665d0d3854b3464800d8d7fef9a90f14d9a9f 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"); }