diff options
Diffstat (limited to 'src/gltf_loader.h')
-rw-r--r-- | src/gltf_loader.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gltf_loader.h b/src/gltf_loader.h index c239bb2..4b3190b 100644 --- a/src/gltf_loader.h +++ b/src/gltf_loader.h @@ -1,11 +1,9 @@ -#pragma once +#ifndef GLTF_LOADER_H +#define GLTF_LOADER_H #include <string_view> #include "render_assets.h" - -#define TINYGLTF_IMPLEMENTATION -#define STB_IMAGE_IMPLEMENTATION -#define STB_IMAGE_WRITE_IMPLEMENTATION #include "tiny_gltf.h" -bool load_gltf(const std::string_view path, iris::Scene &scene);
\ No newline at end of file +bool load_gltf(const std::string_view path, iris::Scene &scene); +#endif
\ No newline at end of file |