X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frender%2Fcamera.h;h=cb9b4ce19423e36cdf126303a6e0b197eeb2ff69;hb=3d60c98715b1a93ae3c7b007c18557e0c2c99fc7;hp=ed81a9511b3fcd9640fa4170f5adf28c23091a34;hpb=190a7e11237351f6b730c28f7b16f183e8adc69c;p=libs%2Fgl.git diff --git a/source/render/camera.h b/source/render/camera.h index ed81a951..cb9b4ce1 100644 --- a/source/render/camera.h +++ b/source/render/camera.h @@ -61,6 +61,8 @@ private: public: Camera(); + void copy_parameters(const Camera &); + /** Sets the camera projection to perspective, characterised by the vertical field of view. Horizontal FoV is computed with the aspect ratio. */ void set_field_of_view(const Geometry::Angle &);