5 #include <gmath/gmath.h>
8 #include "audio/stream.h"
21 static ExSelection null; // null selection
29 unsigned int validmask;
31 ExSelection(Exhibit *ex = 0);
33 operator bool() const;
55 - select me aktina kai select me sfaira, epistrefei Selection
56 - hover me aktina kai hover me sfaira
57 - move me selection, origin, direction kai rotation (?)
59 class Exhibit : public Object {
61 SceneNode *orig_parent;
64 ExhibitSlot *prev_slot;
65 std::vector<ExData> data;
70 Exhibit(const Exhibit&) = delete;
71 Exhibit &operator =(const Exhibit &) = delete;
73 virtual void set_node(SceneNode *node);
75 virtual ExSelection select(const Ray &ray) const;
76 virtual ExSelection select(const Sphere &sph) const;
78 virtual void update(float dt = 0.0f) override;
80 virtual const AABox &get_aabox() const override;