X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fview.h;h=a191a150ec60e1cd9819ed2ce8e7bd9a1f9db884;hb=dfe3dd563981883f3b7c826102fed33c7ff0d12d;hp=225e3937297a36c33202acee728fe890d58462eb;hpb=6aa6e3a60c31d71e8f8117be1ddf547897d19bd8;p=r2c2.git diff --git a/source/3d/view.h b/source/3d/view.h index 225e393..a191a15 100644 --- a/source/3d/view.h +++ b/source/3d/view.h @@ -12,7 +12,7 @@ namespace R2C2 { class Layout3D; -class View3D +class View3D: public sigc::trackable { protected: Layout3D &layout; @@ -22,11 +22,12 @@ protected: Msp::GL::Pipeline pipeline; Sky3D sky; Msp::GL::ShadowMap shadow; - Msp::GL::ColorCurve colorcurve; - Msp::GL::AmbientOcclusion ambient_occlusion; + Msp::GL::ColorCurve *colorcurve; + Msp::GL::AmbientOcclusion *ambient_occlusion; public: View3D(Layout3D &, unsigned, unsigned); + ~View3D(); Layout3D &get_layout() const { return layout; } Msp::GL::Camera &get_camera() { return camera; }