WIP of modes
[opengl.git] / mode / animationMode.hpp
diff --git a/mode/animationMode.hpp b/mode/animationMode.hpp
new file mode 100644 (file)
index 0000000..83ac5e5
--- /dev/null
@@ -0,0 +1,17 @@
+#include "../mode.hpp"
+#include "../model.hpp"
+#include <vector>
+struct AnimationMode : public Mode {
+       Model *sceneModel;
+
+       bool discoLights = false;
+       std::vector<Light> lights;
+
+       AnimationMode(std::string modelPath);
+
+       void display(float d) override;
+       void timer() override;
+       void motion(int x, int y, int dx, int dy) override;
+       void passiveMotion(int x, int y, int dx, int dy) override;
+       void mouse(int button, int state, int x, int y) override;
+};