#ifndef camera_hpp #define camera_hpp #include "maths.hpp" struct Camera { float fov, near, far, asp; v3f forward, position; m4f view, proj; void init(float vfov, const v3f& f, const v3f& p); void update(); const m4f& get_view() const; const m4f& get_proj() const; }; #endif