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 &);
Vector4 unproject(const Vector4 &) const;
Vector3 unproject(const Vector3 &) const;
- void apply() const;
-
private:
void update_projection_matrix();
void update_object_matrix();