X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcamera.h;fp=source%2Fcamera.h;h=9a525e6b1d51077af5f06874ba0a4a56a3b6505d;hp=bfcc2987d860b8e258e3f4fa6bcaad3906853295;hb=c90cc1f31a285ed2ef21a21b5610837425d1ef51;hpb=bdced13c0814d1a860573a0ac19964da2ac4d5e1 diff --git a/source/camera.h b/source/camera.h index bfcc2987..9a525e6b 100644 --- a/source/camera.h +++ b/source/camera.h @@ -11,6 +11,7 @@ class Camera { private: Geometry::Angle fov; + float height; float aspect; // Some compilers have "near" and "far" keywords float clip_near; @@ -28,6 +29,7 @@ public: Camera(); void set_field_of_view(const Geometry::Angle &); + void set_orthographic(float, float); void set_aspect(float); void set_depth_clip(float, float); void set_frustum_axis(float, float);