X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fslot.h;fp=source%2Fslot.h;h=0000000000000000000000000000000000000000;hp=ad8630172308c71356db7a9ec9beab388628b7de;hb=7aaec9a70b8d7733429bec043f8e33e02956f266;hpb=bec07999d95b76f4b47cffcc564d0cd0afc0435e diff --git a/source/slot.h b/source/slot.h deleted file mode 100644 index ad863017..00000000 --- a/source/slot.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef MSP_GL_SLOT_H_ -#define MSP_GL_SLOT_H_ - -#include "renderable.h" - -namespace Msp { -namespace GL { - -/** -A container for a single renderable. Can be used if a part of the scene graph -needs to be switched without affecting the rest. -*/ -class Slot: public Renderable -{ -private: - Renderable *renderable; - -public: - Slot(); - - void set(Renderable *); - Renderable *get() const { return renderable; } - - virtual const Matrix *get_matrix() const; - virtual const Geometry::BoundingSphere *get_bounding_sphere() const; - virtual void setup_frame(Renderer &); - virtual void finish_frame(); - virtual void render(Renderer &, const Tag &) const; -}; - -} // namespace GL -} // namespace Msp - -#endif