mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-04-22 14:09:55 +08:00
20 lines
389 B
C++
20 lines
389 B
C++
#ifndef EXAMPLE_GLTF_LOADER_H_
|
|
#define EXAMPLE_GLTF_LOADER_H_
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
#include "mesh.h"
|
|
#include "material.h"
|
|
|
|
namespace example {
|
|
|
|
///
|
|
/// Loads glTF 2.0 mesh
|
|
///
|
|
bool LoadGLTF(const std::string &filename, float scale, std::vector<Mesh<float> > *meshes, std::vector<Material> *materials, std::vector<Texture> *textures);
|
|
|
|
}
|
|
|
|
#endif // EXAMPLE_GLTF_LOADER_H_
|