5 #include <gmath/gmath.h>
8 #include "audio/stream.h"
26 unsigned int validmask;
28 ExSelection(Exhibit *ex = 0);
30 operator bool() const;
52 - select me aktina kai select me sfaira, epistrefei Selection
53 - hover me aktina kai hover me sfaira
54 - move me selection, origin, direction kai rotation (?)
56 class Exhibit : public Object {
61 std::vector<ExData> data;
66 Exhibit(const Exhibit&) = delete;
67 Exhibit &operator =(const Exhibit &) = delete;
69 virtual void set_node(SceneNode *node);
71 virtual ExSelection select(const Ray &ray) const;
72 virtual ExSelection select(const Sphere &sph) const;
74 virtual void update(float dt = 0.0f) override;
76 virtual void pre_draw() const;
77 virtual void draw() const override;
78 virtual void post_draw() const;
80 virtual const AABox &get_aabox() const override;