X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Foccludedscene.h;fp=source%2Foccludedscene.h;h=4d26483a26bd0bbf7cec514181f06e40b30ec8ac;hb=d031a80ea06e3ccd01041e9c6024fa62adf25160;hp=3f8ca76ce4dcbfe40dc3edaa5553f92785640acb;hpb=dafd3a42a2f06bfd8e88f9240fc2f4bd3d401541;p=libs%2Fgl.git diff --git a/source/occludedscene.h b/source/occludedscene.h index 3f8ca76c..4d26483a 100644 --- a/source/occludedscene.h +++ b/source/occludedscene.h @@ -19,7 +19,7 @@ class OccludedScene: public Scene private: struct OccludedRenderable { - const Renderable *renderable; + Renderable *renderable; const Geometry::BoundingSphere *bounding_sphere; bool in_frustum; bool occluder; @@ -28,7 +28,7 @@ private: OccludedRenderable(); }; - typedef std::set RenderableSet; + typedef std::set RenderableSet; typedef std::vector OccludedArray; Mesh bounding_mesh; @@ -42,8 +42,8 @@ public: OccludedScene(); ~OccludedScene(); - virtual void add(const Renderable &); - virtual void remove(const Renderable &); + virtual void add(Renderable &); + virtual void remove(Renderable &); virtual void render(Renderer &, const Tag &) const; };