14 ExSelection::ExSelection(Exhibit *ex)
21 ExSelection::operator bool() const
26 ExhibitPriv::ExhibitPriv()
33 priv = new ExhibitPriv;
41 void Exhibit::set_node(SceneNode *node)
43 this->node = priv->orig_node = node;
44 priv->orig_pos = node->get_position();
45 priv->orig_rot = node->get_rotation();
48 ExSelection Exhibit::select(const Ray &ray) const
50 return ExSelection(0);
53 ExSelection Exhibit::select(const Sphere &sph) const
55 return ExSelection(0);
58 void Exhibit::update(float dt)
62 void Exhibit::pre_draw() const
65 glMatrixMode(GL_MODELVIEW);
67 glMultMatrixf(node->get_matrix()[0]);
71 void Exhibit::draw() const
75 void Exhibit::post_draw() const
78 glMatrixMode(GL_MODELVIEW);