+ExSelection Exhibit::select(const Ray &ray) const
+{
+ ExSelection sel;
+ HitPoint hit;
+ if(get_aabox().intersect(ray, &hit)) {
+ sel.ex = (Exhibit*)this;
+ sel.selray = ray;
+ sel.dist = hit.dist;
+ sel.validmask = EXSEL_RAY;
+ }
+ return sel;
+}
+
+ExSelection Exhibit::select(const Sphere &sph) const