X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=vignette_effect.h;h=fdf1a116502b8be220b74cacca1432539daec206;hp=4501ebea45978846a12d8b868b0f7a746c643b63;hb=refs%2Fheads%2Fepoxy;hpb=0f37f626e3c445593e2008357622441977fa3a32 diff --git a/vignette_effect.h b/vignette_effect.h index 4501ebe..fdf1a11 100644 --- a/vignette_effect.h +++ b/vignette_effect.h @@ -4,11 +4,13 @@ // A circular vignette, falling off as cos² of the distance from the center // (the classic formula for approximating a real lens). -#include +#include #include #include "effect.h" +namespace movit { + class VignetteEffect : public Effect { public: VignetteEffect(); @@ -26,4 +28,6 @@ private: float radius, inner_radius; }; +} // namespace movit + #endif // !defined(_MOVIT_VIGNETTE_EFFECT_H)