summaryrefslogtreecommitdiff
path: root/src/gltf_loader.h
blob: c239bb2e87fc86b1f3c1172654f04b2562f64249 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#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);