- return ExSelection(0); // TODO
-}
-
-void Exhibit::update(float dt)
-{
-}
-
-void Exhibit::pre_draw() const
-{
- if(node) {
- glMatrixMode(GL_MODELVIEW);
- glPushMatrix();
- glMultMatrixf(node->get_matrix()[0]);
+ ExSelection sel;
+ if(collision_sphere_aabox(sph, get_aabox())) {
+ sel.ex = (Exhibit*)this;
+ sel.selsphere = sph;
+ sel.validmask = EXSEL_SPHERE;