X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcamera.h;h=b10ccb93e200ceaadbe62e8498c7cb69e427409a;hp=a58023017745e37b65179b283c9e1ff3f928f2c2;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hpb=141ebfc5ed84f95edfd0fba0c354336785eb9807 diff --git a/source/camera.h b/source/camera.h index a5802301..b10ccb93 100644 --- a/source/camera.h +++ b/source/camera.h @@ -60,10 +60,6 @@ public: float get_far_clip() const { return clip_far; } const Geometry::Angle &get_frustum_rotation() const { return rotate; } - // Deprecated, use set/get_aspect_ratio instead - void set_aspect(float a) { set_aspect_ratio(a); } - float get_aspect() const { return get_aspect_ratio(); } - void set_position(const Vector3 &); void set_look_direction(const Vector3 &); void look_at(const Vector3 &); @@ -93,8 +89,6 @@ public: Vector4 unproject(const Vector4 &) const; Vector3 unproject(const Vector3 &) const; - void apply() const; - private: void update_projection_matrix(); void update_object_matrix();