X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcamera.h;fp=source%2Fcamera.h;h=a0e4d6f65fb3215a5d8f64e2fbc1fef58347377f;hb=fac4decfa4744ac6dc7f13c0348b0ec1ec80f6a4;hp=11d42985c7bd4719a2073c4c16919b69b03b9979;hpb=c87860db3b23a98eda1adfe59acddffdb6eb8420;p=libs%2Fgl.git diff --git a/source/camera.h b/source/camera.h index 11d42985..a0e4d6f6 100644 --- a/source/camera.h +++ b/source/camera.h @@ -15,6 +15,8 @@ private: // Some compilers have "near" and "far" keywords float clip_near; float clip_far; + float frustum_x; + float frustum_y; Vector3 position; Vector3 look_dir; Vector3 up_dir; @@ -26,6 +28,7 @@ public: void set_field_of_view(const Geometry::Angle &); void set_aspect(float); void set_depth_clip(float, float); + void set_frustum_axis(float, float); const Geometry::Angle &get_field_of_view() const { return fov; } float get_aspect() const { return aspect; } float get_near_clip() const { return clip_near; }