]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/view.h
View3D::create_ray should be const
[r2c2.git] / source / 3d / view.h
index a1bdaf50cc605e7ae45ae7be4de270c9a53d1f1f..5e954a737da05baf07bd9ff963c0224b26345185 100644 (file)
@@ -24,8 +24,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);