diff options
author | Chuyan Zhang <me@zcy.moe> | 2024-10-05 23:40:53 -0700 |
---|---|---|
committer | Chuyan Zhang <me@zcy.moe> | 2024-10-05 23:40:53 -0700 |
commit | 9ed211d1ca084b25d1780da3bde19e9da64d4a4a (patch) | |
tree | f6cb6350a4999b153c4995a3b3ce3d1d71dea17f /src/gltf_loader.h | |
parent | 1866dd531dffc4084dfaf261591bc7ac2a376d67 (diff) | |
download | iris-9ed211d1ca084b25d1780da3bde19e9da64d4a4a.tar.gz iris-9ed211d1ca084b25d1780da3bde19e9da64d4a4a.zip |
glTF loader start working
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 |