]> git.tdb.fi Git - libs/gl.git/blobdiff - source/camera.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / camera.h
index a58023017745e37b65179b283c9e1ff3f928f2c2..b10ccb93e200ceaadbe62e8498c7cb69e427409a 100644 (file)
@@ -60,10 +60,6 @@ public:
        float get_far_clip() const { return clip_far; }
        const Geometry::Angle<float> &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();