From cfcb5c3212f0fce667885ff0de6fa0b9fc4b3ca8 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Sat, 9 Jul 2022 23:45:26 +0200 Subject: Improve compilation time --- include/gltf.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/gltf.hpp') diff --git a/include/gltf.hpp b/include/gltf.hpp index 0364ca8..66fb6ec 100644 --- a/include/gltf.hpp +++ b/include/gltf.hpp @@ -1,7 +1,6 @@ #ifndef __GLTF_HPP_ #define __GLTF_HPP_ -#include #include #include @@ -11,8 +10,6 @@ using json = nlohmann::json; #include "material.hpp" -#include "vk-renderer.hpp" - struct mesh_part { std::vector indices; std::vector positions; @@ -34,6 +31,11 @@ struct node { std::optional mesh; }; +namespace std::filesystem { + class path; +} + +class vkrenderer; class gltf { public: static node load(std::filesystem::path &path, std::string &filename, vkrenderer &renderer); -- cgit v1.3