diff options
Diffstat (limited to 'model.hpp')
-rw-r--r-- | model.hpp | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -7,6 +7,8 @@ #include <tuple> +struct Camera; + struct Material : public Asset { float metalness, roughness, ao; v3f albedo; @@ -82,14 +84,6 @@ struct Material_Loader : public Asset_Loader { void unload(Asset* a) override; }; -struct Camera { - float fov, near, far, asp; - v3f forward, position; - void init(float vfov, const v3f& f, const v3f& p); - m4f get_view() const; - m4f get_proj() const; -}; - struct Model_Instance { Buffer_Id mvp; Buffer_Id mat; |