X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=vignette_effect.h;h=febdc447510f28ba6b1befb715882eacbb69fc1a;hp=a39470398a0dba9cda171f34cf4f96c2ec04411b;hb=18fdebc534adc6b7a4c36b290b01d598bcb671bc;hpb=b10c546f579c7ccb5939161e61a71cd18a3f9bbd diff --git a/vignette_effect.h b/vignette_effect.h index a394703..febdc44 100644 --- a/vignette_effect.h +++ b/vignette_effect.h @@ -1,9 +1,12 @@ -#ifndef _VIGNETTE_EFFECT_H -#define _VIGNETTE_EFFECT_H 1 +#ifndef _MOVIT_VIGNETTE_EFFECT_H +#define _MOVIT_VIGNETTE_EFFECT_H 1 // A circular vignette, falling off as cos² of the distance from the center // (the classic formula for approximating a real lens). +#include +#include + #include "effect.h" class VignetteEffect : public Effect { @@ -22,4 +25,4 @@ private: float radius, inner_radius; }; -#endif // !defined(_VIGNETTE_EFFECT_H) +#endif // !defined(_MOVIT_VIGNETTE_EFFECT_H)