X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fexhibit.h;h=f331d9994236243556ac70992fb0a2c062837c0e;hp=0f98b05d7cd3d852499b22ed3728ed1cd2647e26;hb=b5ed5107e21ff834d5a4510b9047f976abb03dff;hpb=827f01e0ede01a7dd640c8055f1a169cb85e32f9 diff --git a/src/exhibit.h b/src/exhibit.h index 0f98b05..f331d99 100644 --- a/src/exhibit.h +++ b/src/exhibit.h @@ -23,6 +23,7 @@ public: void *data; Ray selray; Sphere selsphere; + float dist; unsigned int validmask; ExSelection(Exhibit *ex = 0); @@ -71,11 +72,13 @@ public: virtual ExSelection select(const Ray &ray) const; virtual ExSelection select(const Sphere &sph) const; - virtual void update(float dt = 0.0f); + virtual void update(float dt = 0.0f) override; virtual void pre_draw() const; - virtual void draw() const; + virtual void draw() const override; virtual void post_draw() const; + + virtual const AABox &get_aabox() const override; }; #endif // EXHIBIT_H_