4 #include <gmath/gmath.h>
11 virtual Mat4 get_view_matrix() const = 0;
14 class OrbitCamera : public Camera {
24 virtual ~OrbitCamera();
26 virtual Mat4 get_view_matrix() const override;
28 void set_orbit_params(float theta, float phi, float distance);
29 void set_position(float x, float y, float z);
32 Mat4 calc_projection_matrix(float fov_deg, float aspect, float n, float f);