X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frender%2Fcamera.h;fp=source%2Frender%2Fcamera.h;h=cb9b4ce19423e36cdf126303a6e0b197eeb2ff69;hb=9ec0e018234391efa66cc0f4080bfe470b910288;hp=ed81a9511b3fcd9640fa4170f5adf28c23091a34;hpb=e70662d7812464159f2e47f4bebb69d88f89ae93;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 &);