aboutsummaryrefslogtreecommitdiffstats
path: root/src/gltf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gltf.cpp')
-rw-r--r--src/gltf.cpp3
1 files changed, 2 insertions, 1 deletions
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 <fstream>
#include <cstring>
+#include <filesystem>
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
@@ -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;