X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fscene.h;h=639a467fa849cb526c19ac31744b957f820af7ea;hp=3b35f45b5558702a0d7f33019456ab444e5b5be1;hb=HEAD;hpb=25c81b4953dd38993250321b9407ce8b0139cbeb diff --git a/source/scene.h b/source/scene.h deleted file mode 100644 index 3b35f45b..00000000 --- a/source/scene.h +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2010-2011 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef MSP_GL_SCENE_H_ -#define MSP_GL_SCENE_H_ - -#include "renderable.h" - -namespace Msp { -namespace GL { - -/** -Scenes are containers for other Renderables. This is a base class that can't -be instantiated. At the moment the available Scene types are SimpleScene, -InstancedScene and OrderedScene. -*/ -class Scene: public Renderable -{ -protected: - Scene() { } -public: - virtual ~Scene() { } - - virtual void add(const Renderable &) = 0; - virtual void remove(const Renderable &) = 0; - - using Renderable::render; - virtual void render(const Tag & = Tag()) const; -}; - -} // namespace GL -} // namespace Msp - -#endif