X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fexhibit.cc;h=2e818540258c98c52774c0f0ff6cd007f2037a96;hp=8403550b9a8e2c69c120b5dc0e9fe928ffdbcb19;hb=37b68f014b46922b885c6344d6b069cba3c9c3c5;hpb=332f9dce52862e39afabd50bdce9691de7986921 diff --git a/src/exhibit.cc b/src/exhibit.cc index 8403550..2e81854 100644 --- a/src/exhibit.cc +++ b/src/exhibit.cc @@ -1,8 +1,6 @@ #include "exhibit.h" #include "snode.h" #include "scene.h" -#include "geomdraw.h" -#include "app.h" ExSelection ExSelection::null; @@ -70,33 +68,6 @@ void Exhibit::update(float dt) { } -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(); - - if(exsel_hover.ex == this) { - const AABox &bvol = get_aabox(); - draw_geom_object(&bvol); - } - } -} - - const AABox &Exhibit::get_aabox() const { aabb = node->get_bounds();