X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fview.h;h=3b0d625df7456c74178becd3eb9476e01718ffb3;hb=1e7b81e843b584381ed779996b3e7a20f3ec19ce;hp=a1bdaf50cc605e7ae45ae7be4de270c9a53d1f1f;hpb=77db8741430ca462e3b624dd42d5ead96be7f264;p=r2c2.git diff --git a/source/3d/view.h b/source/3d/view.h index a1bdaf5..3b0d625 100644 --- a/source/3d/view.h +++ b/source/3d/view.h @@ -3,6 +3,7 @@ #include #include +#include "sky.h" namespace R2C2 { @@ -16,6 +17,7 @@ protected: unsigned height; Msp::GL::Camera camera; Msp::GL::Pipeline pipeline; + Sky3D sky; public: View3D(Layout3D &, unsigned, unsigned); @@ -24,8 +26,8 @@ public: Msp::GL::Camera &get_camera() { return camera; } Msp::GL::Pipeline &get_pipeline() { return pipeline; } - Ray create_ray(int, int); - Ray create_ray(float, float); + Ray create_ray(int, int) const; + Ray create_ray(float, float) const; void view_all(bool = false);