1 #ifndef R2C2_3D_VIEW_H_
2 #define R2C2_3D_VIEW_H_
4 #include <msp/gl/camera.h>
5 #include <msp/gl/pipeline.h>
18 Msp::GL::Camera camera;
19 Msp::GL::Pipeline pipeline;
23 View3D(Layout3D &, unsigned, unsigned);
25 Layout3D &get_layout() const { return layout; }
26 Msp::GL::Camera &get_camera() { return camera; }
27 Msp::GL::Pipeline &get_pipeline() { return pipeline; }
29 Ray create_ray(int, int) const;
30 Ray create_ray(float, float) const;
32 void view_all(bool = false);