X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fview.h;h=3b0d625df7456c74178becd3eb9476e01718ffb3;hb=30c14e235f19442753e5eeeb8a86cbc22960afb1;hp=ffe608e88cfe2a63113ea1f333e3dea86c68dc78;hpb=5fa009f4af8d0a2e4f52929e1ee29f5c93986ab6;p=r2c2.git diff --git a/source/3d/view.h b/source/3d/view.h index ffe608e..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,6 +26,9 @@ public: Msp::GL::Camera &get_camera() { return camera; } Msp::GL::Pipeline &get_pipeline() { return pipeline; } + Ray create_ray(int, int) const; + Ray create_ray(float, float) const; + void view_all(bool = false); void render();