-#ifndef _SANDBOX_EFFECT_H
-#define _SANDBOX_EFFECT_H 1
+#ifndef _MOVIT_SANDBOX_EFFECT_H
+#define _MOVIT_SANDBOX_EFFECT_H 1
// This effect, by default, does nothing.
//
// throwaway code. When you're happy, you can do a bit of search and replace
// to give it a proper name and its own place in the build system.
-#include <GL/glew.h>
+#include <epoxy/gl.h>
#include <string>
#include "effect.h"
+namespace movit {
+
class SandboxEffect : public Effect {
public:
SandboxEffect();
- virtual std::string effect_type_id() const { return "SandboxEffect"; }
- std::string output_fragment_shader();
+ std::string effect_type_id() const override { return "SandboxEffect"; }
+ std::string output_fragment_shader() override;
- void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num);
+ void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num) override;
private:
float parm;
};
-#endif // !defined(_SANDBOX_EFFECT_H)
+} // namespace movit
+
+#endif // !defined(_MOVIT_SANDBOX_EFFECT_H)