X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fexhibit.cc;fp=src%2Fexhibit.cc;h=86533436a3a4cff60a55dc3db966dee0f335ab21;hb=004eca3966c8cc7bed607311a90d56eecab1752f;hp=0000000000000000000000000000000000000000;hpb=a550cf151e8fc6626e788fb2bdc72cf03565ff8b;p=laserbrain_demo diff --git a/src/exhibit.cc b/src/exhibit.cc new file mode 100644 index 0000000..8653343 --- /dev/null +++ b/src/exhibit.cc @@ -0,0 +1,41 @@ +#include "exhibit.h" +#include "snode.h" + +Exhibit::Exhibit() +{ +} + +void *Exhibit::select(const Ray &ray) const +{ + return 0; // TODO +} + +void *Exhibit::select(const Sphere &sph) const +{ + return 0; // TODO +} + +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(); + } +}