From 23e6a58d59b7a11cb8bdb7aa61d3c534c02027e7 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Mon, 11 Jul 2022 00:50:27 +0200 Subject: Refactor includes & improve compile time Add platform defined to CMakeLists.txt --- src/gltf.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gltf.cpp') diff --git a/src/gltf.cpp b/src/gltf.cpp index 282b4a4..a044842 100644 --- a/src/gltf.cpp +++ b/src/gltf.cpp @@ -2,6 +2,7 @@ #include #include +#include #define STB_IMAGE_IMPLEMENTATION #include @@ -10,7 +11,7 @@ #include "utils.hpp" node gltf::load(std::filesystem::path &path, std::string &filename, vkrenderer &renderer) { - std::fstream f{path / filename}; + std::fstream f { path / filename }; json gltf_json; f >> gltf_json; -- cgit v1.3