assimp
[laserbrain_demo] / src / exhibit.h
diff --git a/src/exhibit.h b/src/exhibit.h
new file mode 100644 (file)
index 0000000..c607fdb
--- /dev/null
@@ -0,0 +1,29 @@
+#ifndef EXHIBIT_H_
+#define EXHIBIT_H_
+
+#include <gmath/gmath.h>
+#include "object.h"
+#include "geom.h"
+
+/*
+- select me aktina kai select me sfaira, epistrefei Selection
+- hover me aktina kai hover me sfaira
+- move me selection, origin, direction kai rotation (?)
+ */
+
+class Exhibit : public Object {
+public:
+       Exhibit();
+       virtual ~Exhibit() = default;
+
+       Exhibit(const Exhibit&) = delete;
+       Exhibit &operator =(const Exhibit &) = delete;
+
+       virtual void *select(const Ray &ray) const;
+       virtual void *select(const Sphere &sph) const;
+
+       virtual void update(float dt = 0.0f);
+       virtual void draw() const;
+};
+
+#endif // EXHIBIT_H_