-void Exhibit::pre_draw() const
-{
- if(node) {
- glMatrixMode(GL_MODELVIEW);
- glPushMatrix();
- glMultMatrixf(node->get_matrix()[0]);
- }
-}
-
-void Exhibit::draw() const
-{
-}
-
-void Exhibit::post_draw() const
-{
- if(node) {
- glMatrixMode(GL_MODELVIEW);
- glPopMatrix();
-
- const AABox &bvol = get_aabox();
- debug_log("bvol (%g %g %g) -> (%g %g %g)\n", bvol.min.x, bvol.min.y, bvol.min.z,
- bvol.max.x, bvol.max.y, bvol.max.z);
- draw_geom_object(&bvol);
- }
-}
-
-