X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fview.h;h=a191a150ec60e1cd9819ed2ce8e7bd9a1f9db884;hb=dfe3dd563981883f3b7c826102fed33c7ff0d12d;hp=5be2d8c0adf383bf56714e113845b96006270de9;hpb=46aa663ef44397ca9e33b8248896d56c58002b35;p=r2c2.git diff --git a/source/3d/view.h b/source/3d/view.h index 5be2d8c..a191a15 100644 --- a/source/3d/view.h +++ b/source/3d/view.h @@ -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; }