diff options
| author | quou <quou@disroot.org> | 2025-01-14 00:04:55 +1100 |
|---|---|---|
| committer | quou <quou@disroot.org> | 2025-01-14 00:04:55 +1100 |
| commit | fd488f9603f22db0312eadcdb93b7880922dc9a7 (patch) | |
| tree | 15b7986e2c06eea57575f4c97811cbc65eaa120a /model.hpp | |
| parent | dfa0b6de5a070d1be63d04574c3b8ce469518250 (diff) | |
misc refactoring
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; |